snscrape icon indicating copy to clipboard operation
snscrape copied to clipboard

no longer returns quote tweets

Open NicoBerlo opened this issue 3 years ago • 5 comments

Describe the bug

since 09 feb, the API no longer returns retweets. I get a list of tweets and replies but no RT. They simply aren't in the list returned by TwitterSearchScraper(search).get_items()

I'm using the release version, not the latest git, will try with it.

How to reproduce

search = f"from:{from} since_id:{lastid}" for tweet in enumerate(sntwitter.TwitterSearchScraper(search).get_items()):

Expected behaviour

RT should be included in the results, they used to be

Screenshots and recordings

No response

Operating system

debian 11

Python version: output of python3 --version

Python 3.9.2

snscrape version: output of snscrape --version

snscrape 0.5.0.20230113

Scraper

TwitterSearchScraper

Backtrace

No response

Dump of locals

No response

How are you using snscrape?

Module (import snscrape.modules.something in Python code)

Additional context

No response

NicoBerlo avatar Feb 09 '23 12:02 NicoBerlo

fixed with the current git version !

NicoBerlo avatar Feb 09 '23 12:02 NicoBerlo

Huh? The search shouldn't ever return retweets unless you specify them with include:nativeretweets.

TheTechRobo avatar Feb 09 '23 13:02 TheTechRobo

maybe my vocabulary isn't right. I mean it shows tweets that are RT, like this one, which is in my results : https://twitter.com/joshtpm/status/1623656227275169793 when I ask for a list of new tweets from this user

NicoBerlo avatar Feb 09 '23 14:02 NicoBerlo

Oh, ok. I thought you meant just the tweets that have the "X person retweeted" on them.

TheTechRobo avatar Feb 09 '23 15:02 TheTechRobo

Those are called 'quote tweets'. I do see it with 0.5.0, and there haven't been any changes in the dev version that should cause a change in behaviour in this area anyway.

JustAnotherArchivist avatar Feb 09 '23 17:02 JustAnotherArchivist