From: Yen Chi Hsuan Date: Sat, 2 Jan 2016 13:31:02 +0000 (+0800) Subject: [baidu] Cleanups X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=c579c5e967cd223baa2c1f593b6ed65ac8643e42;p=youtube-dl.git [baidu] Cleanups --- diff --git a/youtube_dl/extractor/baidu.py b/youtube_dl/extractor/baidu.py index 84fab551b..734b50d1d 100644 --- 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']))