From: Sergey M․ Date: Tue, 1 Nov 2016 19:34:23 +0000 (+0700) Subject: [extractor/common] Remove unused code X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=3365ea8929e53955fa1dd46b2b30492619c17055;p=youtube-dl.git [extractor/common] Remove unused code --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 7e01c5fbb..50841f0cf 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1798,8 +1798,6 @@ class InfoExtractor(object): if ism_doc.get('IsLive') == 'TRUE' or ism_doc.find('Protection') is not None: return [] - ism_base_url = base_url(ism_url) - duration = int(ism_doc.attrib['Duration']) timescale = int_or_none(ism_doc.get('TimeScale')) or 10000000