fix video url
This commit is contained in:
parent
1d687e3cb7
commit
10e5c1386c
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ def get_video_url(video, format=18):
|
|||
key = parts[0]
|
||||
for p in parts[1:]:
|
||||
idx = p.rfind(',')
|
||||
value = p[:idx].replace('\\/', '/')
|
||||
value = p[:idx].replace('\\/', '/').replace('\u0026', '&').replace(',', '%2C')
|
||||
formats[int(key)] = value
|
||||
key = p[idx + 1:]
|
||||
format_list = [22, 35, 34, 18, 17]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue