-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List support #20
Comments
Hi, @codilau. I haven't looked into it, but I've seen something like that in the API calls. Do you have an example of a list in the twitter interface (web app) so we can see what requests the tweeter makes to its API and add this to the library? I personally don't use twitter enough, so I'm not very familiar with all its functions. |
Hi, thanks for looking into this subject. It's helpful to have this feature because it allows curated content with very few api calls. |
Digging in a bit i found this: |
Hi, @codilau. Thanks for the explanation. I will try to add this functionality as soon as possible. So, API should be like: async for tweet in api.list_timeline(LIST_ID, limit=100):
print(tweet.id) Its right? |
@vladkens absolutely, thanks! |
Hi, @codilau. Added lists support to v0.5.0, update please: pip install --upgrade twscrape Then: twscrape list_timeline 1494877848087187461
twscrape list_timeline 1494877848087187461 --raw Or from code: async for tweet in api.list_timeline(1494877848087187461):
print(tweet.id) |
wonderful, thank you @vladkens! |
Hey there, thanks for the good work.
For my use case i'd need to be able to scrape multiple lists.
Is there a way to ask the GraphQL endpoint instead of passing through the list:id search query?
thanks
The text was updated successfully, but these errors were encountered: