Spark-NF / twitter_media_downloader

Twitter media downloader.
Apache License 2.0
293 stars 52 forks source link

Can't get file before timeline about 2016/11 #12

Open zby1234 opened 5 years ago

zby1234 commented 5 years ago

Can't get file before 2016. e.g.python3 twitter_media_downloader.py -u XXX --since 2011-01-01 --until 2015-01-01

Spark-NF commented 5 years ago

I just tested and could download a few images from 2014 with no issues. Which user are you trying to download from?

Note that because the API does not support doing it another way, --until starts from the last tweet and keep going until it finds a tweet older than the given date. Which means that if the user has lots of tweets, it might take very long before the download starts. --until-id does not have this issue, so maybe you can try using it instead?

Mahilig commented 3 years ago

The Twitter API limits how much tweets you can parse. I think it's like 3200.

So even if you use --since and --until. It is still parsing the tweets (and counts with the 3200) even though you do not want to download media from those tweets.