mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-21 14:56:46 +01:00
fix hashtags
This commit is contained in:
parent
efddc6a552
commit
b0a9f53475
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ async def main() -> None:
|
|||
pattern = HASHTAGS_PATTERNS[available_hashtag]
|
||||
if pattern in file['filename']:
|
||||
alert_hashtags.add(available_hashtag)
|
||||
break # one file cannot have more than one hashtag
|
||||
|
||||
# optimize substring search
|
||||
available_hashtags -= alert_hashtags
|
||||
|
||||
|
|
Loading…
Reference in a new issue