Open cox890 opened 3 years ago
I'm getting this error too. When I first ran the script (earlier today) it was fine.
I run the script, It opens up a browsers, It tries to log me in, I have to do a few captcha, It logs in, It goes to the audiobook's page, It sits there a few minutes, Then it closes the browser and spits out the error stuff.
I moved the scripts to a different folder, would that make a difference? Also, I'm trying to download an audiobook which I recently downloaded today (which I deleted), would that make a difference?
@ink79 @chimeforest Glad I made a script that can be helpful to you. I released a new version with some changes. Please download and use it. Then give me feedback https://github.com/mrtztg/scribd_dl/releases/tag/1.2.2
@mrtztg, thanks for the update; it's working on some books but on a few books its just stuck at some chapter and resume once I select the next chapter
@mrtztg, thanks for the update; it's working on some books but on a few books its just stuck at some chapter and resume once I select the next chapter
Please provide links of books that you can't download.
@mrtztg, thanks for the update; it's working on some books but on a few books its just stuck at some chapter and resume once I select the next chapter
Please provide links of books that you can't download.
also this one https://www.scribd.com/audiobook/497426479/The-Sweetest-Oblivion
Haven't used it for a while just tried it but getting this error
`[WDM] - ====== WebDriver manager ====== [WDM] - Current google-chrome version is 94.0.4606 [WDM] - Get LATEST driver version for 94.0.4606 [WDM] - Driver [C:\Users\fury.wdm\drivers\chromedriver\win32\94.0.4606.61\chromedriver.exe] found in cache C:\Users\fury\Documents\Scribd\scribd_dl.py:30: DeprecationWarning: executable_path has been deprecated, please pass in a Service object driver = Chrome(ChromeDriverManager().install(), options=chrome_options)
DevTools listening on ws://127.0.0.1:49682/devtools/browser/42d62ef0-9e32-49cf-bd68-13ea939ea51c opening website... logging in... C:\Users\fury\Documents\Scribd\scribd_dl.py:52: DeprecationWarning: find_elementby commands are deprecated. Please use find_element() instead driver.find_element_by_css_selector('.sign_in .login_or_email.email input').send_keys( [9452:8144:1018/060113.885:ERROR:chrome_browser_main_extra_parts_metrics.cc(228)] crbug.com/1216328: Checking Bluetooth availability started. Please report if there is no report that this ends. [9452:8144:1018/060113.885:ERROR:chrome_browser_main_extra_parts_metrics.cc(231)] crbug.com/1216328: Checking Bluetooth availability ended. [9452:460:1018/060113.885:ERROR:device_event_log_impl.cc(214)] [06:01:13.884] Bluetooth: bluetooth_adapter_winrt.cc:1073 Getting Default Adapter failed. [9452:8144:1018/060113.885:ERROR:chrome_browser_main_extra_parts_metrics.cc(234)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends. [9452:8144:1018/060113.906:ERROR:chrome_browser_main_extra_parts_metrics.cc(238)] crbug.com/1216328: Checking default browser status ended. C:\Users\fury\Documents\Scribd\scribd_dl.py:55: DeprecationWarning: find_elementby commands are deprecated. Please use find_element() instead driver.find_element_by_css_selector('.sign_in .wrapperpassword_input input').send_keys( C:\Users\fury\Documents\Scribd\scribd_dl.py:58: DeprecationWarning: find_elementby commands are deprecated. Please use find_element() instead driver.find_element_by_css_selector('.sign_in button[type=submit]').click() Opening https://www.scribd.com/audiobook/471771161/Clash-of-Steel-A-A-Treasure-Island-Remix C:\Users\fury\Documents\Scribd\scribd_dl.py:95: DeprecationWarning: find_elementby commands are deprecated. Please use find_element() instead book_name = driver.find_element_by_css_selector('h1[data-e2e=desktop-content-title]').text C:\Users\fury\Documents\Scribd\scribd_dl.py:109: DeprecationWarning: find_elementsby commands are deprecated. Please use find_elements() instead _chapters_list_el = driver.find_elements_by_css_selector( C:\Users\fury\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webelement.py:483: UserWarning: find_elementby commands are deprecated. Please use find_element() instead warnings.warn("find_elementby* commands are deprecated. Please use find_element() instead") Traceback (most recent call last): File "C:\Users\fury\Documents\Scribd\scribd_dl.py", line 124, in
chapters_list_el[i].click()
File "C:\Users\fury\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webelement.py", line 80, in click
self._execute(Command.CLICK_ELEMENT)
File "C:\Users\fury\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webelement.py", line 693, in _execute
return self._parent.execute(command, params)
File "C:\Users\fury\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 418, in execute
self.error_handler.check_response(response)
File "C:\Users\fury\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 243, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element ... is not clickable at point (160, 280). Other element would receive the click: <div role="dialog" aria-live="polite" aria-modal="true" aria-label="Consent Manager by Osano" id="bba8c2ea-aa39-4e5f-9df8-883b2518ee2f" aria-describedby="bba8c2ea-aa39-4e5f-9df8-883b2518ee2f label" class="osano-cm-window__dialog osano-cm-dialog osano-cm-dialog--position_bottom-left osano-cm-dialog--type_box">...