unused snippet
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import requests
|
||||
|
||||
|
||||
def get(url, proxy=True):
|
||||
if proxy:
|
||||
tmp = "socks5://localhost:1080"
|
||||
kwargs = dict(proxies=dict(http=tmp, https=tmp))
|
||||
else:
|
||||
kwargs = {}
|
||||
return requests.get(url, **kwargs)
|
||||
Reference in New Issue
Block a user