]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[baidu] Cleanups
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 2 Jan 2016 13:31:02 +0000 (21:31 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 2 Jan 2016 13:31:02 +0000 (21:31 +0800)
youtube_dl/extractor/baidu.py

index 84fab551bf93a97b93e0572594f776875cc2668c..734b50d1d9a2ddf1617e7e724e673892fb5f2b42 100644 (file)
@@ -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']))