mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Removes properly new twitter quote statuses on templating system
This commit is contained in:
parent
74fd4bfadf
commit
2039597098
@ -36,7 +36,7 @@ def process_text(tweet):
|
||||
# Replace URLS for extended version of those.
|
||||
if hasattr(tweet, "entities"):
|
||||
text = utils.expand_urls(text, tweet.entities)
|
||||
text = re.sub(r"https://twitter.com/\w+/status/\d+", "", text)
|
||||
text = re.sub(r"https://twitter.com/\w+/status/\S+", "", text)
|
||||
return text
|
||||
|
||||
def process_image_descriptions(entities):
|
||||
|
Loading…
Reference in New Issue
Block a user