From aa6b734e02b8c3dc8244a8cd8857e80c7c2953d6 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Sat, 13 Jul 2013 21:45:33 +0200 Subject: [PATCH] [instagram] really fix uploader_id detection (Fixes #1038) --- youtube_dl/extractor/instagram.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/instagram.py b/youtube_dl/extractor/instagram.py index 49d770665..f9ac8d5b4 100644 --- a/youtube_dl/extractor/instagram.py +++ b/youtube_dl/extractor/instagram.py @@ -22,8 +22,9 @@ class InstagramIE(InfoExtractor): r'(.+?)', webpage, u'title', flags=re.DOTALL) title = re.sub(u'(?: *\(Videos?\))? \u2022 Instagram$', '', html_title).strip() - uploader_id = self._html_search_regex(r'

([^<]*)

', - webpage, u'uploader name', fatal=False) + uploader_id = self._html_search_regex( + r'
.*?

([^<]*)

', + webpage, u'uploader id', fatal=False, flags=re.DOTALL) ext = 'mp4' return [{ -- 2.22.2