From 3365ea8929e53955fa1dd46b2b30492619c17055 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Wed, 2 Nov 2016 02:34:23 +0700 Subject: [PATCH] [extractor/common] Remove unused code --- youtube_dl/extractor/common.py | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.39.5