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