X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Finstagram.py;h=f9ac8d5b45b72764a441cc2d520841414b742f55;hb=88d4111cfa2f88a323de5ae0a8e75942530fa67d;hp=49d770665333484e6918cfd6134f1bb2be7667c6;hpb=73b57f0ccbae1506304237ef836e70763c23d38f;p=youtube-dl.git 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 [{