Nem4 / viewerbot

Twitch Viewer Bot (Python + proxies)
305 stars 132 forks source link

Not working #2

Closed massivly closed 5 years ago

massivly commented 5 years ago

Traceback (most recent call last): File "main.py", line 98, in channel_url = "https://www.twitch.tv/" + sys.argv[1] IndexError: list index out of range

Nem4 commented 5 years ago

Hello there, you have to specify the channel you want to use. It should be something like this:

~\viewerbot>python threads_viewer.py RANDOMCHANNEL 1000 where RANDOMCHANNEL is the name of your channel.

If not, you are free to edit script so that "channel_url" corresponds to URL of your channel. Something like " https://www.twitch.tv/RANDOMCHANNEL"

you have to change channel_url = "https://www.twitch.tv/" + sys.argv[1] by channel_url = "https://www.twitch.tv/RANDOMCHANNEL" where, again, RANDOMCHANNEL is the name of your channel.