vladkens / twscrape

2024! X / Twitter API scrapper with authorization support. Allows you to scrape search results, User's profiles (followers/following), Tweets (favoriters/retweeters) and more.
https://pypi.org/project/twscrape/
MIT License
793 stars 104 forks source link

How to use list_timeline and filter by time range? #105

Open meta-duck opened 5 months ago

meta-duck commented 5 months ago

is it possible to use list_timeline and filter by time range? like if i want to filter the list that within 2023-12-01 to 2024-01-31 or it is only available on search? thanks!

vladkens commented 5 months ago

Hi, @meta-duck.

If that filters not available in UI it also not available to do with twscrape.

With search you can do this like:

api.search("list:1494877848087187461 since:2023-12-01 until:2024-01-31")