Skip to content

Commit 98fcf97

Browse files
committed
Fix slideshow posts & update yt-dlp (#114)
1 parent be5828a commit 98fcf97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vxtiktok.py

+1
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def embedTiktok(sub_path):
194194
return "Error converting URL (Unsupported?)",500
195195
baseURL = stripURL(baseURL)
196196
if user_agent in embed_user_agents:
197+
baseURL = baseURL.replace("/photo/", "/video/")
197198
return embed_tiktok(baseURL)
198199
else:
199200
return redirect(baseURL)

0 commit comments

Comments
 (0)