download now works with chaturbate

This commit is contained in:
Danilo Reyes 2024-12-29 14:46:59 -06:00
parent 4085b23994
commit e78ff86924

View File

@ -73,7 +73,7 @@ def video_command(video: Video) -> str:
rgx_music = re.compile(r"(https:\/\/music.youtube.*)")
if re.search(r"chaturbate", video.link):
return f"chat-dl {video.link}"
return f"stream-dl {video.link.split("/")[-1]}"
if rgx_yt.search(video.link):
command += " --embed-subs --embed-thumbnail"