mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-20 20:14:24 +00:00
[baidu] Cleanups
This commit is contained in:
parent
c9c194053d
commit
c579c5e967
@ -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']))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user