projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d15be3
)
[instagram:user] Fix extraction (closes #16119)
author
Sergey M․
<dstftw@gmail.com>
Sat, 7 Apr 2018 16:57:32 +0000
(23:57 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 7 Apr 2018 16:58:57 +0000
(23:58 +0700)
youtube_dl/extractor/instagram.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/instagram.py
b/youtube_dl/extractor/instagram.py
index f9cd11b8e3c0ca00b8a8f6aa8eb4960ff302d690..9f570249fae959ad52e7b0e13fb913dedda116b3 100644
(file)
--- 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(