logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 3365ea8929e53955fa1dd46b2b30492619c17055
parent a18aeee8030a8c4eb4c69107d181195b17d08fa2
Author: Sergey M․ <dstftw@gmail.com>
Date:   Wed,  2 Nov 2016 02:34:23 +0700

[extractor/common] Remove unused code

Diffstat:

Myoutube_dl/extractor/common.py2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git 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