![]() |
|
[Python] Needed help with Python Twitch.tv Viewer bot. - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Needed help with Python Twitch.tv Viewer bot. (/showthread.php?tid=3987513) |
Needed help with Python Twitch.tv Viewer bot. - kemal23 - Jan 10, 2014 Could somebody help me because i saw some scripts and dont know how to use it and how to paste it in python... http://www.ericzhang.me/faking-views-on-twitch-tv/ * - blem - Jan 10, 2014 As I'm sure most people are going to say, learn python and then we'll help you. * - Das Swag - Jan 10, 2014 You literally have the source code there, learn a little bit of python and copy and paste it. * - Goldbach - Jan 11, 2014 The source code IMO isn't fairly difficult to understand. If you have any specific questions regarding it, then you should post that here. * - feltron - May 19, 2014 hello i just copy past the code and change channel name but i have an error when i launche the code with the idle inconsistent uf of tabs and spaces in indentation.... i try many things but it fail ... * - Kankroc - May 19, 2014 Okay so I solved the indentation errors (That was easy) But, the script need a bunch of modules and livestreamer to work and I'm not ready to install all this crap. Here's the indented code: Code import requests* - ajdude66 - May 19, 2014 (May 19, 2014 10:06 AM)feltron Wrote: hello i just copy past the code and change channel name Indents in python are like brackets in most code an if statement in python is written as Code if this == true:Code if this == truealso you probably have to install modules that the code is trying to import * - Silkie - May 20, 2014 (May 19, 2014 03:05 PM)๖ۣۜDeathstroke Wrote: Okay so I solved the indentation errors (That was easy) Indentation is still off, for example, the final try/except statement. * - Pillows - May 20, 2014 (May 20, 2014 01:01 PM)Silkie Wrote: Indentation is still off, for example, the final try/except statement. Just to also point out the indentation is off for the for loop in the try statement as well. * - Linux. - May 20, 2014 (May 20, 2014 01:03 PM)Pillows Wrote: Just to also point out the indentation is off for the for loop in the try statement as well. Just to point out, it's HF's formatting messing it up. Messed up my perfectly indented code. * - ImportUsername - May 20, 2014 I remember this code... You can't run it from IDLE if you want it to work properly. Run it from command prompt/terminal, with two arguments (number of threads and builder of threads) * - ImASkidCX - Apr 11, 2016 Bump Help trying to execute but dont know the proper Perimeters? Maybe someone could spoon feed me the proper knowledge for this script? * - Preddy - Apr 14, 2016 For as I know, twitch changed view counting algorithm so this python script will not work. You have to simulate real viewer behavior. |