mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-08-28 18:05:16 +02:00
[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.
This commit is contained in:
parent
bbc26c8a01
commit
2defa7d75a
@ -152,7 +152,7 @@ class InstagramUserIE(InfoExtractor):
|
|||||||
|
|
||||||
if not page['items']:
|
if not page['items']:
|
||||||
break
|
break
|
||||||
max_id = page['items'][-1]['id']
|
max_id = page['items'][-1]['id'].split('_')[0]
|
||||||
media_url = (
|
media_url = (
|
||||||
'http://instagram.com/%s/media?max_id=%s' % (
|
'http://instagram.com/%s/media?max_id=%s' % (
|
||||||
uploader_id, max_id))
|
uploader_id, max_id))
|
||||||
|
Loading…
Reference in New Issue
Block a user