1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-24 02:15:55 +01:00

[instagram:user] Fix extraction (closes #16119)

This commit is contained in:
Sergey M․ 2018-04-07 23:57:32 +07:00
parent 9d15be3a5b
commit ff826177cc
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -243,6 +243,8 @@ class InstagramUserIE(InfoExtractor):
return int_or_none(try_get(
node, lambda x: x['edge_media_' + suffix]['count']))
self._set_cookie('instagram.com', 'ig_pr', '1')
cursor = ''
for page_num in itertools.count(1):
media = self._download_json(