[dailymotion] fix title

This commit is contained in:
Mort Yao 2015-09-02 12:45:28 +02:00
parent eb864cf8ce
commit 7459f9fad4

View File

@ -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: