I will get this timeout every once in a while. But when using the --book flag to download the book with this error, it seems to work fine.
Is there a way to redownload books without restarting? It seems there isn't a way to do this at the moment. It will scrape everything over again.
Or alternatively, there is currently a way to not re-scrape json files and only download the books with json files. It is possible to scrape all json files first before downloading? Then I can manually take out the json files with books I have already downloaded?
======versions===========
chromedriver-autoinstaller 0.2.2
colorama 0.4.4
EbookLib 0.17.1
requests 2.25.1
selenium 3.141.0
selenium-wire 4.3.2
python 3.8.10
===============Error=================
Message: timeout: Timed out receiving message from renderer: 298.991
(Session info: chrome=91.0.4472.124)
(Driver info: chromedriver=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}),platform=Windows NT 10.0.18363 x86_64)
Traceback (most recent call last):
File "D:\hxh103\blinker2\blinkistscraper_main_.py", line 412, in
main()
File "D:\hxh103\blinker2\blinkistscraper_main_.py", line 368, in main
dump_exists = scrape_book(
File "D:\hxh103\blinker2\blinkistscraper_main_.py", line 257, in scrape_book
audio_files = scraper.scrape_book_audio(
File "D:\hxh103\blinker2\blinkistscraper\scraper.py", line 513, in scrape_book_audio
driver.get(book_reader_url)
File "C:\Users\hxh103\Anaconda3\envs\blink2\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 333, in get
self.execute(Command.GET, {'url': url})
File "C:\Users\hxh103\Anaconda3\envs\blink2\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\hxh103\Anaconda3\envs\blink2\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: 298.991
(Session info: chrome=91.0.4472.124)
(Driver info: chromedriver=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}),platform=Windows NT 10.0.18363 x86_64)
I will get this timeout every once in a while. But when using the --book flag to download the book with this error, it seems to work fine.
Is there a way to redownload books without restarting? It seems there isn't a way to do this at the moment. It will scrape everything over again.
Or alternatively, there is currently a way to not re-scrape json files and only download the books with json files. It is possible to scrape all json files first before downloading? Then I can manually take out the json files with books I have already downloaded?
======versions===========
chromedriver-autoinstaller 0.2.2
colorama 0.4.4
EbookLib 0.17.1
requests 2.25.1
selenium 3.141.0
selenium-wire 4.3.2
python 3.8.10
===============Error=================
Message: timeout: Timed out receiving message from renderer: 298.991
(Session info: chrome=91.0.4472.124)
(Driver info: chromedriver=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}),platform=Windows NT 10.0.18363 x86_64)
Traceback (most recent call last):
File "D:\hxh103\blinker2\blinkistscraper_main_.py", line 412, in
main()
File "D:\hxh103\blinker2\blinkistscraper_main_.py", line 368, in main
dump_exists = scrape_book(
File "D:\hxh103\blinker2\blinkistscraper_main_.py", line 257, in scrape_book
audio_files = scraper.scrape_book_audio(
File "D:\hxh103\blinker2\blinkistscraper\scraper.py", line 513, in scrape_book_audio
driver.get(book_reader_url)
File "C:\Users\hxh103\Anaconda3\envs\blink2\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 333, in get
self.execute(Command.GET, {'url': url})
File "C:\Users\hxh103\Anaconda3\envs\blink2\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\hxh103\Anaconda3\envs\blink2\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: 298.991
(Session info: chrome=91.0.4472.124)
(Driver info: chromedriver=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}),platform=Windows NT 10.0.18363 x86_64)