Skip to content
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

twitterscraper - collect tweets without specifying word #990

Open
clpalomi opened this issue Jun 29, 2023 · 1 comment
Open

twitterscraper - collect tweets without specifying word #990

clpalomi opened this issue Jun 29, 2023 · 1 comment
Labels
module:twitter question Further information is requested

Comments

@clpalomi
Copy link

Is it possible to use TwitterSearchScraper to collect a number of tweets just setting parameters like tweet.lang or tweet.place.country, without specifying a word as an argument?

@clpalomi clpalomi added the question Further information is requested label Jun 29, 2023
@JustAnotherArchivist
Copy link
Owner

Yes, e.g. lang:en searches for English tweets (according to Twitter's detection, which isn't always accurate). Some filters can't be used on their own; adding (filter:safe OR -filter:safe) is one possible workaround for that. Refer to https://github.com/igorbrigadir/twitter-advanced-search for available filters (but some of these don't work anymore).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:twitter question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants