forked from rDrama/rDrama
sfdfsd
parent
44e90d9b7b
commit
969013a501
|
@ -219,8 +219,7 @@ def sanitize(sanitized, noimages=False):
|
||||||
yt_id = i.group(2).split('&')[0].split('%')[0]
|
yt_id = i.group(2).split('&')[0].split('%')[0]
|
||||||
replacing = f'<a href="{url}" rel="nofollow noopener noreferrer" target="_blank">{url}</a>'
|
replacing = f'<a href="{url}" rel="nofollow noopener noreferrer" target="_blank">{url}</a>'
|
||||||
|
|
||||||
print(url)
|
params = parse_qs(urlparse(url.replace('&','&')).query)
|
||||||
params = parse_qs(urlparse(url).query)
|
|
||||||
t = params.get('t', params.get('start', [0]))[0]
|
t = params.get('t', params.get('start', [0]))[0]
|
||||||
if isinstance(t, str): t = t.replace('s','')
|
if isinstance(t, str): t = t.replace('s','')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue