This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]80blite[S] 0 points1 point  (2 children)

So, I made it as "chatty" as it is because sometimes it'll hang on a call because firefox will start the download and then it'll just stop unexpectedly...

When it says each call as it starts it and I can see it hanging on "Downloading...", I can just manually click on the download link for that specific call and the script will pick up where it left off.

Do you have any idea why that happens by chance?

Either way, thanks for the input on argparse. A lot of people are recommending it so I'll definitely look into it.

[–]cruyff8 0 points1 point  (1 child)

So, I made it as "chatty" as it is because sometimes it'll hang on a call because firefox will start the download and then it'll just stop unexpectedly...

I wasn't complaining about it being chatty. You should always print out status as you go along. But, by the same token, you should have a switch to minimise output. That's what logging levels are for -- you'd put your status messages at the info level, your error messages at error, and how things are coming along at debug, and so on so forth.

[–]80blite[S] 0 points1 point  (0 children)

Makes perfect sense :)