Commit f5cb0140 authored by Francesco Poldi's avatar Francesco Poldi

Fix hashtag parsing #189

parent bf671f19
...@@ -14,7 +14,7 @@ def getMentions(tw): ...@@ -14,7 +14,7 @@ def getMentions(tw):
def getText(tw): def getText(tw):
text = tw.find("p", "tweet-text").text text = tw.find("p", "tweet-text").text
text = text.replace("\n", "") text = text.replace("\n", " ")
text = text.replace("http", " http") text = text.replace("http", " http")
text = text.replace("pic.twitter", " pic.twitter") text = text.replace("pic.twitter", " pic.twitter")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment