aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/dailymotion.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2016-07-29 22:47:34 +0700
committerSergey M․ <[email protected]>2016-07-29 22:47:34 +0700
commitfa9f1d16b807e66a9c3c2dead77c44624d556408 (patch)
tree180a31b16b82badcb034a1316eb5bd8a1eaa68d1 /youtube_dl/extractor/dailymotion.py
parent485fedf6fd801d7ae0796d661ae7624564f67df8 (diff)
downloadyoutube-dl-fa9f1d16b807e66a9c3c2dead77c44624d556408.tar.gz
youtube-dl-fa9f1d16b807e66a9c3c2dead77c44624d556408.zip
[dailymotion:playlist] Carry long line
Diffstat (limited to 'youtube_dl/extractor/dailymotion.py')
-rw-r--r--youtube_dl/extractor/dailymotion.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dailymotion.py b/youtube_dl/extractor/dailymotion.py
index 98d2c82f4..496883d15 100644
--- a/youtube_dl/extractor/dailymotion.py
+++ b/youtube_dl/extractor/dailymotion.py
@@ -331,7 +331,9 @@ class DailymotionPlaylistIE(DailymotionBaseInfoExtractor):
for video_id in re.findall(r'data-xid="(.+?)"', webpage):
if video_id not in video_ids:
- yield self.url_result('http://www.dailymotion.com/video/%s' % video_id, 'Dailymotion', video_id)
+ yield self.url_result(
+ 'http://www.dailymotion.com/video/%s' % video_id,
+ DailymotionIE.ie_key(), video_id)
video_ids.add(video_id)
if re.search(self._MORE_PAGES_INDICATOR, webpage) is None: