Browse Source

slight change to Dailymotion uploader regex (fix)

master
Filippo Valsorda 12 years ago
parent
commit
fe4d68e196
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/InfoExtractors.py

2
youtube_dl/InfoExtractors.py

@ -692,7 +692,7 @@ class DailymotionIE(InfoExtractor):
video_title = unescapeHTML(mobj.group('title').decode('utf-8')) video_title = unescapeHTML(mobj.group('title').decode('utf-8'))
video_uploader = u'NA' video_uploader = u'NA'
mobj = re.search(r'(?im)<span class="owner[^\"]+?">[^<]+?<a [^>]+?>([^<]+?)</a></span>', webpage)
mobj = re.search(r'(?im)<span class="owner[^\"]+?">[^<]+?<a [^>]+?>([^<]+?)</a>', webpage)
if mobj is None: if mobj is None:
self._downloader.trouble(u'WARNING: unable to extract uploader nickname') self._downloader.trouble(u'WARNING: unable to extract uploader nickname')
else: else:

Loading…
Cancel
Save