1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 08:34:32 +01:00

[extractor/common] Remove unused code

This commit is contained in:
Sergey M․ 2016-11-02 02:34:23 +07:00
parent a18aeee803
commit 3365ea8929
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -1798,8 +1798,6 @@ class InfoExtractor(object):
if ism_doc.get('IsLive') == 'TRUE' or ism_doc.find('Protection') is not None: if ism_doc.get('IsLive') == 'TRUE' or ism_doc.find('Protection') is not None:
return [] return []
ism_base_url = base_url(ism_url)
duration = int(ism_doc.attrib['Duration']) duration = int(ism_doc.attrib['Duration'])
timescale = int_or_none(ism_doc.get('TimeScale')) or 10000000 timescale = int_or_none(ism_doc.get('TimeScale')) or 10000000