diff options
author | Ricardo Garcia <sarbalap+freshmeat@gmail.com> | 2010-07-06 18:52:46 +0200 |
---|---|---|
committer | Ricardo Garcia <sarbalap+freshmeat@gmail.com> | 2010-10-31 11:28:17 +0100 |
commit | 7e2dd306fecee8bc7538f194b470f8e384a3a71a (patch) | |
tree | 79289d1dddf1974eabdda76df46749e5aa471958 | |
parent | dea147f78e62755c920569cec67b631e28f9a98e (diff) | |
download | youtube-dl-7e2dd306fecee8bc7538f194b470f8e384a3a71a.tar.xz |
Make the Dailymotion uploader regexp more flexible because it fails sometimes
-rwxr-xr-x | youtube-dl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl index 19acce127..36f392c83 100755 --- a/youtube-dl +++ b/youtube-dl @@ -1149,7 +1149,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></div>', webpage) if mobj is None: self._downloader.trouble(u'ERROR: unable to extract uploader nickname') return |