Fix small issue
This commit is contained in:
parent
53128fef58
commit
aafb72f307
@ -74,7 +74,7 @@ def extractStatus_syndication(url):
|
||||
tweet = requests.get("https://cdn.syndication.twimg.com/tweet-result?id=" + twid)
|
||||
|
||||
|
||||
if tweet.status_code == 404:
|
||||
if tweet.status_code == 404 or tweet.status_code == 403:
|
||||
raise twExtractError.TwExtractError(404, "Tweet not found")
|
||||
output = tweet.json()
|
||||
if "errors" in output:
|
||||
|
Loading…
x
Reference in New Issue
Block a user