mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-12-18 00:00:17 +00:00
Added handler (doing nothing) for tweet-poi-geo-text
This commit is contained in:
parent
56a89ec4f3
commit
bb226e54a9
4
twoot.py
4
twoot.py
|
@ -94,6 +94,10 @@ def cleanup_tweet_text(tt_iter):
|
|||
# convert string to hex value of unicode character
|
||||
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:
|
||||
print("*** WARNING: No handler for tag in twitter text: " + tag.prettify())
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user