Browse Source

[dailymotion:playlist] Carry long line

totalwebcasting
Sergey M․ 8 years ago
parent
commit
fa9f1d16b8
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      youtube_dl/extractor/dailymotion.py

+ 3
- 1
youtube_dl/extractor/dailymotion.py View File

@ -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:


Loading…
Cancel
Save