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
1.12k stars 133 forks source link

Exclude messageprompts as elements #194

Closed NielsOerbaek closed 4 months ago

NielsOerbaek commented 6 months ago

Exclude message prompts from elements to be parsed. Currently they are recognized as elements, but cannot be parsed, which sends the .search-method into an infinite loop. Message prompts are informational messages appearing at the top of specific queries, e.g. related to elections. I have attached a danish example: image