'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'Accept-Encoding': 'gzip, deflate',
'Accept-Language': 'en-US,en;q=0.9',
'Cache-Control': 'max-age=0',
'Content-Length': 163,
'Cookie': 'PHPSESSID=mycookie; hash=889a24f09f1fdd538ebdedc36254f157; fermer=7364145',
'DNT': 1,
'Host': 'biglike.org',
'Origin': 'http://biglike.org',
'Proxy-Connection': 'keep-alive',
'Referer': 'http://biglike.org/addorder',
'Upgrade-Insecure-Requests': 1,
'User-Agent': 'Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Mobile Safari/537.36'
})
data = data.encode('ascii')
with urllib.request.urlopen("http://biglike.org/addorder?soc_type=yt&job_type=ytview&name=myavatar&link=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKkrBQmqtKnc&price=1&amount=3&addorder=", data) as f:
print(f.read().decode('utf-8'))
Что здесь может быть не так?
Ты хедеры и тело перепутал
Обсуждают сегодня