Fix "unable to extract uploader nickname" error with Dailymotion
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sat, 11 Sep 2010 07:47:21 +0000 (09:47 +0200)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:28:41 +0000 (11:28 +0100)
youtube-dl

index c850f26b34c3629ae2ee13c62f33a6c27f801a82..37903362105cbcff7946a7aeb764c077540532df 100755 (executable)
@@ -1158,7 +1158,7 @@ class DailymotionIE(InfoExtractor):
                video_title = mobj.group(1).decode('utf-8')
                video_title = sanitize_title(video_title)
 
-               mobj = re.search(r'(?im)<div class="dmco_html owner">.*?<a class="name" href="/.+?">(.+?)</a></div>', webpage)
+               mobj = re.search(r'(?im)<div class="dmco_html owner">.*?<a class="name" href="/.+?">(.+?)</a>', webpage)
                if mobj is None:
                        self._downloader.trouble(u'ERROR: unable to extract uploader nickname')
                        return