support time_continue param in psot urls

master
Aevann 2024-07-22 00:04:08 +03:00
parent a353e7e93a
commit 3b925e7c0c
1 changed files with 2 additions and 0 deletions

View File

@ -309,6 +309,8 @@ def handle_youtube_links(url):
if yt_id_regex.fullmatch(id):
if not t:
t = params.get('t', params.get('start', [0]))[0]
if not t:
t = params.get('time_continue')[0]
if isinstance(t, str):
t = t.replace('s','').replace('S','')
split = t.split('m')