This commit is contained in:
parent
56ecddedcb
commit
234a1d7a23
@ -72,11 +72,9 @@ ConnectorCache = Cache()
|
||||
|
||||
|
||||
def curl_content(url, params=None, ajax=False, debug=True):
|
||||
from . import get_instance
|
||||
output = ''
|
||||
http_code = 500
|
||||
method = 'post' if (params is not None) else 'get'
|
||||
instance = get_instance(url)
|
||||
|
||||
if ajax:
|
||||
headers = {'User-Agent': 'YggRobot',
|
||||
|
Reference in New Issue
Block a user