projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b8247
)
[letv] fix height
author
remitamine
<remitamine@gmail.com>
Fri, 24 Jul 2015 13:46:45 +0000
(14:46 +0100)
committer
remitamine
<remitamine@gmail.com>
Fri, 24 Jul 2015 13:46:45 +0000
(14:46 +0100)
youtube_dl/extractor/letv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/letv.py
b/youtube_dl/extractor/letv.py
index ba2ae80853d36ce1b9a98d109c2580bcdde65d5a..a28abb0f0081d05c5c2d0c07080ba33db0badaed 100644
(file)
--- a/
youtube_dl/extractor/letv.py
+++ b/
youtube_dl/extractor/letv.py
@@
-15,6
+15,7
@@
from ..utils import (
determine_ext,
ExtractorError,
parse_iso8601,
+ int_or_none,
)
@@
-134,7
+135,7
@@
class LetvIE(InfoExtractor):
}
if format_id[-1:] == 'p':
- url_info_dict['height'] =
format_id[:-1]
+ url_info_dict['height'] =
int_or_none(format_id[:-1])
urls.append(url_info_dict)