logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 2defa7d75aa424c16ca76a25a05297daed0bb5bd
parent bbc26c8a012d215e98a98a671471cd75e7765286
Author: Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Date:   Sat,  2 Apr 2016 18:01:58 +0200

[instagram:user] Fix extraction (fixes #9059)

The URL for the next page was incorrect and we always got the same page, therefore it got trapped in an infinite loop.

Diffstat:

Myoutube_dl/extractor/instagram.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/instagram.py b/youtube_dl/extractor/instagram.py @@ -152,7 +152,7 @@ class InstagramUserIE(InfoExtractor): if not page['items']: break - max_id = page['items'][-1]['id'] + max_id = page['items'][-1]['id'].split('_')[0] media_url = ( 'http://instagram.com/%s/media?max_id=%s' % ( uploader_id, max_id))