fix youtube timestamp edge case

pull/139/head
Aevann 2023-03-12 21:07:23 +02:00
parent a7a104348d
commit 325a8996d8
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ def handle_youtube_links(url):
if not t:
t = params.get('t', params.get('start', [0]))[0]
if isinstance(t, str):
t = t.replace('s','')
t = t.replace('s','').replace('S','')
split = t.split('m')
if len(split) == 2:
minutes = int(split[0])