mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-18 06:06:06 -04:00
Cleanup, disabled accurate audio algo by default, string cleanup.
This commit is contained in:
@@ -60,7 +60,7 @@ def is_audio(tweet,force=False):
|
||||
except:
|
||||
log.exception("Exception while executing is_audio hashtag algorithm")
|
||||
try:
|
||||
if config.app["app-settings"]["use_modern_audio_algo"]:
|
||||
if config.app["app-settings"]["use_slow_audio_algo"]:
|
||||
for u in find_urls(tweet):
|
||||
if url_is_audio(u):
|
||||
tweet['is_audio']=True
|
||||
|
Reference in New Issue
Block a user