1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 19:02:56 +08: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:
return []
ism_base_url = base_url(ism_url)
duration = int(ism_doc.attrib['Duration'])
timescale = int_or_none(ism_doc.get('TimeScale')) or 10000000