Skip to content

Commit 2084b83

Browse files
committed
Fixed formatting
1 parent 20a8a60 commit 2084b83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gallery_dl/extractor/instagram.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def items(self):
7777
if match_share:
7878
share_response = self.request(self.url, allow_redirects=False)
7979
if share_response.status_code == 302:
80-
self.url = share_response.headers['Location'].split('?', maxsplit=1)[0] # Remove tracking info
80+
self.url = share_response.headers['Location'] \
81+
.split('?', maxsplit=1)[0] # Remove tracking info
8182
self.match = self.match.re.match(self.url)
8283
self.item = self.match.group(1)
8384

0 commit comments

Comments
 (0)