Open Sgt-Nukem opened 3 years ago
I think part of the problem might be how it counts. I just ran it and get:
Downloading content to XXX
Found 477 posts
Downloaded 727 new posts
[...]
One might reasonably ask how it downloaded 727 new posts when there were only 477 total. However:
$ find XXX/photos -type f | wc -l
641
$ find XXX/videos -type f | wc -l
86
which add up to 727. So I suspect in "Found \
Anyways, I agree that the feedback could be better to make it clearer exactly what the counts are counting.
Two suggestions:
a)
I was a bit bewildered when I ran the script for the first time:
Expectation: As I did not specifiy a
max-age
argument I was expecting it would download 100% of the stuff.I just found out on the website that 2 of the 3 messages needed further payment.
So IMHO better feedback would be something like this:
(I'm not sure if the same holds true for the posts though?)
b)
Running with the ubiquitous
--help
argument just produces:That made me think I had the settings like
USER_ID
etc. in the script wrong, when in fact I did not.Better check for
--help
/?
etc. and pretend no arguments were given so the help text is shown.