Milkdrop / strawpoll-bot

A Python3 Bot for voting unlimited times on a strawpoll.me poll.
GNU General Public License v2.0
31 stars 21 forks source link

Address This #4

Closed k-wayne closed 4 years ago

k-wayne commented 4 years ago

It gives an error: Traceback (most recent call last): File "script.py", line 146, in prepare (args, motd) File "script.py", line 83, in prepare checkboxID = str (int (checkboxID) + opt - 1) ValueError: invalid literal for int() with base 10: ''

Milkdrop commented 4 years ago

Can you provide the poll URL that causes this?

thiagolinhares commented 4 years ago

EDIT: Nevermind. I was trying "strawpoll.com" poll.

Here same error

Connecting to: https://www.strawpoll.me/y3ydprpb
Traceback (most recent call last):
  File "script.py", line 146, in <module>
    prepare (args, motd)
  File "script.py", line 83, in prepare
    checkboxID = str (int (checkboxID) + opt - 1)
ValueError: invalid literal for int() with base 10: ''
Mamdouh-Aloufi commented 4 years ago

did you fix it? so it work with the new address "strawpoll.com" ?

thiagolinhares commented 4 years ago

yes. it's working fine using strawpoll.com

apparently they are two distinct services.

Mamdouh-Aloufi commented 4 years ago

Can you send me the edited code? I tried to change strawpoll.me with strapoll.com but it is not workin /: