1
0
mirror of https://gitlab.com/jeancf/twoot.git synced 2024-12-19 00:30:17 +00:00

Added handler (doing nothing) for tweet-poi-geo-text

This commit is contained in:
JC Francois 2019-12-21 12:05:54 +01:00
parent 56a89ec4f3
commit bb226e54a9

View File

@ -94,6 +94,10 @@ def cleanup_tweet_text(tt_iter):
# convert string to hex value of unicode character # convert string to hex value of unicode character
tweet_text += chr(int(uni_char, 16)) tweet_text += chr(int(uni_char, 16))
# elif tag is a geographical point of interest
elif tag.name == 'span' and tag['class'][0] == 'tweet-poi-geo-text':
pass
else: else:
print("*** WARNING: No handler for tag in twitter text: " + tag.prettify()) print("*** WARNING: No handler for tag in twitter text: " + tag.prettify())