youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 62666af99fb55e3ba535ce630e8ce0aed1b5b0e8
parent 9ddc289f88542f4b0bf7ad5e9c725caf8889f71b
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 11 Jun 2016 05:13:05 +0700

[indavideo] Fix formats' height (Closes #9744)

Diffstat:
Myoutube_dl/extractor/indavideo.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/indavideo.py b/youtube_dl/extractor/indavideo.py @@ -60,7 +60,8 @@ class IndavideoEmbedIE(InfoExtractor): formats = [{ 'url': video_url, - 'height': self._search_regex(r'\.(\d{3,4})\.mp4$', video_url, 'height', default=None), + 'height': int_or_none(self._search_regex( + r'\.(\d{3,4})\.mp4(?:\?|$)', video_url, 'height', default=None)), } for video_url in video_urls] self._sort_formats(formats)