From: Sergey M․ Date: Sat, 13 Aug 2016 09:46:07 +0000 (+0700) Subject: [imgur] Fix width and height extraction (Closes #10325) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=c2a453b46177787d5cc17e09cedb3eca215ab159;p=youtube-dl [imgur] Fix width and height extraction (Closes #10325) --- diff --git a/youtube_dl/extractor/imgur.py b/youtube_dl/extractor/imgur.py index 85e9344aa..d23489dcf 100644 --- a/youtube_dl/extractor/imgur.py +++ b/youtube_dl/extractor/imgur.py @@ -50,12 +50,10 @@ class ImgurIE(InfoExtractor): webpage = self._download_webpage( compat_urlparse.urljoin(url, video_id), video_id) - width = int_or_none(self._search_regex( - r'(.*?)',