|
@@ -108,78 +108,6 @@ class JParams(object):
|
|
|
sys.exit()
|
|
|
return
|
|
|
|
|
|
-
|
|
|
- video = driver.find_element_by_id('movie_player')
|
|
|
- video.send_keys(Keys.SPACE) #hits space
|
|
|
- time.sleep(1)
|
|
|
- video.click() #mouse click
|
|
|
-
|
|
|
- driver.execute_script('window.open("'+url+'","_blank");')
|
|
|
- driver.execute_script("window.scrollTo(0, window.scrollY + 400)")
|
|
|
- time.sleep(3)
|
|
|
-
|
|
|
- try:
|
|
|
- driver.get(url)
|
|
|
- except:
|
|
|
- driver.quit()
|
|
|
- sys.exit()
|
|
|
- return
|
|
|
-
|
|
|
- video = driver.find_element_by_id('movie_player')
|
|
|
- video.send_keys(Keys.SPACE) #hits space
|
|
|
- time.sleep(1)
|
|
|
- video.click() #mouse click
|
|
|
-
|
|
|
-
|
|
|
- driver.execute_script('window.open("'+url+'","_blank");')
|
|
|
- driver.execute_script("window.scrollTo(0, window.scrollY + 400)")
|
|
|
- time.sleep(3)
|
|
|
-
|
|
|
- try:
|
|
|
- driver.get(url)
|
|
|
- except:
|
|
|
- driver.quit()
|
|
|
- sys.exit()
|
|
|
- return
|
|
|
-
|
|
|
- video = driver.find_element_by_id('movie_player')
|
|
|
- video.send_keys(Keys.SPACE) #hits space
|
|
|
- time.sleep(1)
|
|
|
- video.click() #mouse click
|
|
|
-
|
|
|
- driver.execute_script('window.open("'+url+'","_blank");')
|
|
|
- driver.execute_script("window.scrollTo(0, window.scrollY + 400)")
|
|
|
- time.sleep(3)
|
|
|
-
|
|
|
- try:
|
|
|
- driver.get(url)
|
|
|
- except:
|
|
|
- driver.quit()
|
|
|
- sys.exit()
|
|
|
- return
|
|
|
-
|
|
|
-
|
|
|
- video = driver.find_element_by_id('movie_player')
|
|
|
- video.send_keys(Keys.SPACE) #hits space
|
|
|
- time.sleep(1)
|
|
|
- video.click() #mouse click
|
|
|
-
|
|
|
- driver.execute_script('window.open("'+url+'","_blank");')
|
|
|
- driver.execute_script("window.scrollTo(0, window.scrollY + 400)")
|
|
|
- time.sleep(3)
|
|
|
-
|
|
|
- try:
|
|
|
- driver.get(url)
|
|
|
- except:
|
|
|
- driver.quit()
|
|
|
- sys.exit()
|
|
|
- return
|
|
|
-
|
|
|
- video = driver.find_element_by_id('movie_player')
|
|
|
- video.send_keys(Keys.SPACE) #hits space
|
|
|
- time.sleep(1)
|
|
|
- video.click() #mouse click
|
|
|
-
|
|
|
time.sleep(35)
|
|
|
driver.quit()
|
|
|
sys.exit()
|