slight change to Dailymotion uploader regex (fix)
authorFilippo Valsorda <filippo.valsorda@gmail.com>
Sun, 28 Oct 2012 20:43:43 +0000 (21:43 +0100)
committerFilippo Valsorda <filippo.valsorda@gmail.com>
Sun, 28 Oct 2012 20:43:43 +0000 (21:43 +0100)
youtube_dl/InfoExtractors.py

index 6e59ba8fd740c789435c3ada8ba0a13dcb2297a8..9df521d0233d806a83e3f5abf648f2e3a22b690f 100644 (file)
@@ -692,7 +692,7 @@ class DailymotionIE(InfoExtractor):
                video_title = unescapeHTML(mobj.group('title').decode('utf-8'))
 
                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:
                        self._downloader.trouble(u'WARNING: unable to extract uploader nickname')
                else: