RichardJRL / pocketmagstopdf

Download pocketmags magazines in PDF format from the HTML5 reader
Creative Commons Zero v1.0 Universal
42 stars 8 forks source link

SyntaxError: invalid syntax #4

Closed Stumpytrain closed 1 year ago

Stumpytrain commented 2 years ago

I'm probably being an absolute dullard, but I keep getting "SyntaxError: invalid syntax" with the https part of the blog url highlighted. What am I doing wrong? Many thanks!

RichardJRL commented 2 years ago

Can you paste the command you are running that produces that error here - but with your UUID (if used) and each of the UUIDs in the URL replaced by xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx?

like this (which is a syntactically correct command... but which won't work because the URL is fake) :

python3 pocketmagstopdf.py --quality=original --delay=0.5 --uuid-hide --uuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx my_magazine.pdf https://mcdatastore.blob.core.windows.net/mcmags/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/extralow/0000.jpg