leoncvlt / blinkist-scraper

📚 Python tool to download book summaries and audio from Blinkist.com, and generate some pretty output
190 stars 36 forks source link

cannot execute main.py #23

Closed sasagr closed 4 years ago

sasagr commented 4 years ago

Hi. Really interested to use this script but I have serious difficulties to follow instructions as per README file. Basic usage calls for python main.py without underscores.... but there is no such file. Only similar file is main.py with underscores before and after main word in blinkistscraper folder but I guess it is not the right one. Salvatores-MacBook-Pro:blinkistscraper salva$ python main.py user pass https://www.blinkist.com/en/nc/reader/the-box-en File "main.py", line 7 log = logger.get(f"blinkistscraper") ^ SyntaxError: invalid syntax Salvatores-MacBook-Pro:blinkistscraper salva$

Can you pls give more clear instruction on how to execute first command? Thanks

cryptoluks commented 4 years ago

Try to execute it a directory above.

python blinkistscraper/main.py user pass url

sasagr commented 4 years ago

after upgrading to python3.8 and installing some missing modules I can run python3.8 blinkistscraper/main.py user pass url --create-epub

But now I get this "Cannot contact reCAPTCHA. Check your connection and try again." I see the connection is not sucure though I installed certs for python3.8 Any suggestion?

sasagr commented 4 years ago

fixed adding 127.0.0.1 as proxy

Arminius4 commented 4 years ago

Try to execute it a directory above.

python blinkistscraper/main.py user pass url

You also do not even need to give the python file to execute, because __main__.py will be executed by default:

python3 blinkistscraper user pass url

sasagr commented 4 years ago

Ok, will do that.

On Aug 15, 2020 at 00:26, <Lukas (mailto:notifications@github.com)> wrote:

Try to execute it a directory above.

python blinkistscraper/main.py user pass url

You also do not even need to give the python file to execute, because main.py will be executed by default:

python3 blinkistscraper user pass url

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub (https://github.com/leoncvlt/blinkist-scraper/issues/23#issuecomment-674279082), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AA2E4JNBVIJ22QCSCJKSUEDSAWTZ7ANCNFSM4PZWKGSQ).