projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c1940
)
[baidu] Cleanups
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 2 Jan 2016 13:31:02 +0000
(21:31 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 2 Jan 2016 13:31:02 +0000
(21:31 +0800)
youtube_dl/extractor/baidu.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/baidu.py
b/youtube_dl/extractor/baidu.py
index 84fab551bf93a97b93e0572594f776875cc2668c..734b50d1d9a2ddf1617e7e724e673892fb5f2b42 100644
(file)
--- a/
youtube_dl/extractor/baidu.py
+++ b/
youtube_dl/extractor/baidu.py
@@
-4,7
+4,6
@@
from __future__ import unicode_literals
import re
from .common import InfoExtractor
-from ..compat import compat_urlparse
class BaiduVideoIE(InfoExtractor):
@@
-47,8
+46,6
@@
class BaiduVideoIE(InfoExtractor):
entries = []
for episode in episodes_detail['videos']:
- episode_id = '%s_%s' % (playlist_id, episode['episode'])
-
entries.append(self.url_result(
episode['url'], video_title=episode['title']))