We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a8a60 commit 2084b83Copy full SHA for 2084b83
gallery_dl/extractor/instagram.py
@@ -77,7 +77,8 @@ def items(self):
77
if match_share:
78
share_response = self.request(self.url, allow_redirects=False)
79
if share_response.status_code == 302:
80
- self.url = share_response.headers['Location'].split('?', maxsplit=1)[0] # Remove tracking info
+ self.url = share_response.headers['Location'] \
81
+ .split('?', maxsplit=1)[0] # Remove tracking info
82
self.match = self.match.re.match(self.url)
83
self.item = self.match.group(1)
84
0 commit comments