mirror of
https://github.com/soimort/you-get.git
synced 2025-03-11 09:58:50 +03:00
[dailymotion] fix title
This commit is contained in:
parent
eb864cf8ce
commit
7459f9fad4
@ -10,7 +10,7 @@ def dailymotion_download(url, output_dir = '.', merge = True, info_only = False)
|
||||
|
||||
html = get_content(url)
|
||||
info = json.loads(match1(html, r'qualities":({.+?}),"'))
|
||||
title = match1(html, r'"title"\s*:\s*"(.+?)",')
|
||||
title = match1(html, r'"video_title"\s*:\s*"(.+?)",')
|
||||
|
||||
for quality in ['720','480','380','240','auto']:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user