youtube-dl

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

commit a55c8b7aac89712943337c0c538a6cc3b94b4bad
parent a980bc4324094e6869e05b8ddf22c7d4d87088cf
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu, 24 Apr 2014 19:52:34 +0700

[9gag] Fix post view regex

Diffstat:
Myoutube_dl/extractor/ninegag.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/ninegag.py b/youtube_dl/extractor/ninegag.py @@ -47,7 +47,7 @@ class NineGagIE(InfoExtractor): webpage = self._download_webpage(url, display_id) post_view = json.loads(self._html_search_regex( - r'var postView = new app\.PostView\({ post: ({.+?}),', webpage, 'post view')) + r'var postView = new app\.PostView\({\s*post:\s*({.+?}),', webpage, 'post view')) youtube_id = post_view['videoExternalId'] title = post_view['title']