Hello i want vote a picture from a website and i tried somethings but i didn't see any vote
This is url of photo: https://woobox.com/nvk7uh/gallery/B47CxJE1PoU
And a picture what i see when i listen it with network:
Payloads: enter image description here
Headers: enter image description here
And my code i didn't put id because i don't know how to access it:
import requests
link = "https://woobox.com/nvk7uh/gallery/B47CxJE1PoU"
request_url = 'https://woobox.com/nvk7uh/vote/add'
session = requests.session()
response = session.get(link, headers=fake_header)
print(response.status_code)
vote_payload = {
'signed_request': 'false'
}
vote_headers = {
'accept': '*/*',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36',
'referer': link,
'x-requested-with': 'XMLHttpRequest'
}
voter_response = session.post(request_url, data=vote_payload, headers=vote_headers)
print('Vote Status: ' + str(voter_response.status_code))
print(voter_response.text)
time.sleep(3)
What do you think about this code? what is problem?