forked from indymedia/epicyon
Quick check for hashtags
parent
af3b7baf12
commit
5ed417138a
|
@ -55,6 +55,8 @@ def rss2Footer() -> str:
|
|||
def getNewswireTags(text: str) -> []:
|
||||
"""Returns a list of hashtags found in the given text
|
||||
"""
|
||||
if '#' not in text:
|
||||
return []
|
||||
if ' ' not in text:
|
||||
return []
|
||||
textSimplified = \
|
||||
|
|
Loading…
Reference in New Issue