2022.01.30 버그 픽스
This commit is contained in:
@@ -671,7 +671,7 @@ class LogicAniLife(LogicModuleBase):
|
|||||||
ChromeDriverManager().install(), chrome_options=options
|
ChromeDriverManager().install(), chrome_options=options
|
||||||
)
|
)
|
||||||
|
|
||||||
driver.implicitly_wait(5)
|
driver.implicitly_wait(10)
|
||||||
|
|
||||||
stealth(
|
stealth(
|
||||||
driver,
|
driver,
|
||||||
@@ -697,7 +697,7 @@ class LogicAniLife(LogicModuleBase):
|
|||||||
LogicAniLife.cookies = cookies_list
|
LogicAniLife.cookies = cookies_list
|
||||||
# LogicAniLife.headers["Cookie"] = driver.get_cookies()
|
# LogicAniLife.headers["Cookie"] = driver.get_cookies()
|
||||||
LogicAniLife.episode_url = driver.current_url
|
LogicAniLife.episode_url = driver.current_url
|
||||||
time.sleep(1)
|
# time.sleep(1)
|
||||||
elem = driver.find_element(By.XPATH, "//*")
|
elem = driver.find_element(By.XPATH, "//*")
|
||||||
source_code = elem.get_attribute("outerHTML")
|
source_code = elem.get_attribute("outerHTML")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user