diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-04-07 23:57:32 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-04-07 23:58:57 +0700 |
commit | ff826177cc154ba8c67b8162a25e067783dc4caa (patch) | |
tree | e58f249ba222c97c3a0f8da4130ad3d28c9c51d8 /youtube_dl/extractor | |
parent | 9d15be3a5b1f0764d8493ccfc312fc0d0a2df164 (diff) |
[instagram:user] Fix extraction (closes #16119)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/instagram.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/instagram.py b/youtube_dl/extractor/instagram.py index f9cd11b8e..9f570249f 100644 --- a/youtube_dl/extractor/instagram.py +++ b/youtube_dl/extractor/instagram.py @@ -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( |