Skip to content

Commit bd83621

Browse files
author
GitBib
authored
fix. Universal Proxy
1 parent b7c8d9c commit bd83621

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

InstagramAPI/InstagramAPI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def setProxy(self, proxy=None):
8181

8282
if proxy is not None:
8383
print('Set proxy!')
84-
proxies = {'http': 'http://' + proxy, 'https': 'http://' + proxy}
84+
proxies = {'http': proxy, 'https': proxy}
8585
self.s.proxies.update(proxies)
8686

8787
def login(self, force=False):

0 commit comments

Comments
 (0)