1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-28 17:40:58 +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:
return []
ism_base_url = base_url(ism_url)
duration = int(ism_doc.attrib['Duration'])
timescale = int_or_none(ism_doc.get('TimeScale')) or 10000000