guillermo-carrasco / twistream

Automation of Twitter Stream data collection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--exclude-quotes does not exclude tweets quoted by pasting a link to another tweet

guillermo-carrasco opened this issue · comments

when a tweet is quoted using the quoting mechanism, this condition in the code is true:

elif self.exclude_quotes and hasattr(status, "quoted_status"):

however, when a tweet is quoted by pasting a link to another tweet, then this attribute does not exist, and instead you get 'is_quote_status': True