mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-09-18 03:51:47 +00:00
Changed the way used for detecting quoted tweets
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
from twitter import utils
|
from twitter import utils
|
||||||
|
|
||||||
def is_long(tweet):
|
def is_long(tweet):
|
||||||
if "is_quote_status" in tweet and tweet["is_quote_status"] == True and "quoted_status" in tweet:
|
if "quoted_status_id" in tweet and tweet["quoted_status_id"] != None:
|
||||||
return tweet["quoted_status_id"]
|
return tweet["quoted_status_id"]
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user