Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script Throws Exception for audio download of blinks #54

Open
girishbaviskar opened this issue May 23, 2021 · 1 comment
Open

Script Throws Exception for audio download of blinks #54

girishbaviskar opened this issue May 23, 2021 · 1 comment

Comments

@girishbaviskar
Copy link

girishbaviskar commented May 23, 2021

Hello there,
I recently discovered this repository and started using. I'm trying to download the audio blinks, but I keep getting the following exception.
Is there something I'm missing here, or is this for everyone?
Please advise what I can do to prevent this error.

$ python blinkistscraper --language en --match-language --audio myEmail myPassword
[15:41:38] INFO Starting scrape run...
[15:41:39] INFO Initialising chromedriver at C:\Users\Girish\AppData\Local\Programs\Python\Python37\lib\site-packages\chromedriver_autoinstaller\90\chromedriver.exe...
[15:41:48] ERROR Timeout waiting for ublock config overwrite alert
[15:42:03] INFO Logged into Blinkist. Loading Library...
[15:42:07] INFO Scraping categories: Entrepreneurship, Politics, Marketing & Sales, Science, Health & Nutrition, Personal Development, Economics, History, Communication Skills, Corporate Culture, Management & Leadership, Motivation & Inspiration, Money & Investments, Psychology, Productivity, Sex & Relationships, Technology & the Future, Mindfulness & Happiness, Parenting, Society & Culture, Nature & the Environment, Biography & Memoir, Career & Success, Education, Religion & Spirituality, Creativity, Philosophy
[15:42:07] INFO Getting all books for category Entrepreneurship...
[15:42:13] INFO Found 198 books
[15:42:13] ERROR requests
Traceback (most recent call last):
  File "blinkistscraper\__main__.py", line 412, in <module>
    main()
  File "blinkistscraper\__main__.py", line 373, in main
    match_language=match_language,
  File "blinkistscraper\__main__.py", line 258, in scrape_book
    driver, book_json, args.language
  File "blinkistscraper\scraper.py", line 504, in scrape_book_audio
    del driver.requests
AttributeError: requests
[15:42:13] CRITICAL Uncaught Exception. Exiting...


@circark
Copy link

circark commented May 23, 2021

hello

i'm having the exact same issue.
PDF/HTML scrapping works fine, but --audio not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants