forked from rDrama/rDrama
1
0
Fork 0

replace streamable links with full-size version

master
Aevann1 2022-06-10 16:35:09 +02:00
parent b542a4743e
commit 6800d33019
1 changed files with 4 additions and 1 deletions

View File

@ -392,7 +392,10 @@ def sanitize_url(url):
.replace("https://www.youtube", "https://youtube") \
.replace("https://www.twitter", "https://twitter") \
.replace("https://www.instagram", "https://instagram") \
.replace("https://www.tiktok", "https://tiktok")
.replace("https://www.tiktok", "https://tiktok") \
.replace("https://www.streamable", "https://streamable") \
.replace("https://streamable.com/", "https://streamable.com/e/") \
.replace("https://streamable.com/e/e/", "https://streamable.com/e/")
return url