Closed wscottw3 closed 5 years ago
Solved:
after line 47 -> tweet_text = tweet.select('p.tweet-text')[0].get_text()
add
tweet_text = tweet_text.replace('http', ' http')
Another FYI.. I was getting a "can't encode character u'\xfc' in position 11: ordinal not in range(128)" error until I added this to the head of run.py
import sys reload(sys) sys.setdefaultencoding('utf8')
KJ Apa Is The Lead For Netflix’s Newest Summer Romancehttps://bzfd.it/2WZR1AC
18 Of The Most Unexpectedly Dark Moments From Rom-Comshttps://bzfd.it/2WW56zh
I'm new to Python and could use your advice on how to insert a space between the text and the hyperlink. It's not rendering as a clickable link.