Closed jakethesnakeroberts closed 4 years ago
The issue is about the program not being able to able find the pre-packaged ublock extension - reason it's not finding it is because you are calling the script from inside the blinkistscraper
folder - you need to be outside it (at the same level where .gitignore and readme.md) are and call the script like this: python loconotion --language en --categories market ..."
The __main__.py
file is not meant to be called directly, its purpose is to make the entire blinkistscraper
folder executable: https://stackoverflow.com/questions/4042905/what-is-main-py
EDIT: Just realized the the readme file still referred to main.py
in the instructions, which was for an older version of the script - I updated it, which should hopefully cause less confusion now 🙂
I saw that README update! Thanks for idiot-proofing the instructions.
Sincerely, An Idiot 😅
~Got it to work until it didn't. I got a "Too many requests" error from blinkist blocking me from accessing the site for a little while. Have you ran into that? Does this not work on Trial memberships? Cheers.~
I think the issue is on my end. ChromeDriver says no network even though I'm connected. Mark the issue as resolved because it is and I'll keep troubleshooting the other stuff.
Chromedriver is being installed earlier in proc from the autoinstaller dir then runs into another "missing" error when options.py is running. Unsure how to resolve.
Help is appreciated. Sorry if this is the wrong place to comment. This is my first time so any feedback is helpful.