Developing a BOT for polls with WordPress plugin Polldaddy

2

I tried to follow: link

import requests

dados ={"poll_id" : "9484127",
"answer_id" :"43276282",
"number_of_votes" : "1000"}



url = "https://polldaddy.com/poll/9484127/"

#while True:
requests.post(url, data=dados)

But it's still not voting and it does not make mistakes!

    
asked by anonymous 31.07.2016 / 12:39

1 answer

4

I believe the correct use of this module will be:

from vote import vote

poll_id = 9484127
answer_id = 43276282
number_of_votes = 1000

vote(poll_id, answer_id, number_of_votes)
    
31.07.2016 / 15:54