0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-16 01:25:06 +00: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 @@ def _parse_ism_formats(self, ism_doc, ism_url, ism_id=None):
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