1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-26 04:02:11 +00:00

[baidu] Cleanups

This commit is contained in:
Yen Chi Hsuan 2016-01-02 21:31:02 +08:00
parent c9c194053d
commit c579c5e967

View file

@ -4,7 +4,6 @@ from __future__ import unicode_literals
import re import re
from .common import InfoExtractor from .common import InfoExtractor
from ..compat import compat_urlparse
class BaiduVideoIE(InfoExtractor): class BaiduVideoIE(InfoExtractor):
@ -47,8 +46,6 @@ class BaiduVideoIE(InfoExtractor):
entries = [] entries = []
for episode in episodes_detail['videos']: for episode in episodes_detail['videos']:
episode_id = '%s_%s' % (playlist_id, episode['episode'])
entries.append(self.url_result( entries.append(self.url_result(
episode['url'], video_title=episode['title'])) episode['url'], video_title=episode['title']))