Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- python.org/downloads/
- jetbrains.com/pycharm/download
- drunohazarb/4chan-captcha-solver
- Download python and pycharm, no need to download pychan and selenium separately as you can install them from within pycharm after you make a new project
- Download tampermonkey for your browser and then install the captcha solver from github (it's the .js file if that's not obvious)
- Make a new pycharm project and install pycharm and selenium with the new project open
- Delete all the contents of the 'main.py' file so that it's completely empty, if there is no 'main.py' create it in the main project folder yourself (from within pycharm)
- Take the contents of the other pastbin file and copy it into the now empty main.py file
- Unzip the image archive from dropbox into the project folder
- Your project folder should now have a main.py file, venv folder, and 14 folders with the names of the EN members
- BEG_DELAY = time between posts (not counting some smaller waits also included to give the captcha solver/your connection time) (line 17)
- BEG_DELAY_FACTOR = variable used to modify BEG_DELAY based on how many posts have been added to the thread since the last bot post (line 18)
- Bigger BEG_DELAY_FACTOR = bigger BEG_DELAY = slower posting
- Smaller BEG_DELAY_FACTOR = smaller BEG_DELAY = faster posting
- You need to replace every instance of 'user' in the directory names with whatever your username shows up as in your windows install
- Also replace 'ENggarBot' with whatever you named your project
- This version will use whatever the default profile on chrome is on your system, if you want it to use a different browser you need to fuck around with lines 79-83
- This current version will not add text to image posts, instead it just posts images until image limit and then it starts copypastaing from /vt/ without images
- If you want it to add text to image posts, you need to scroll down to the main loop (everything after line 322 the line that reads 'while True:') and then:
- Delete the line that reads 'if IMG_GENKAI_TOPPA:' (line 338)
- Change the indentation of the following three lines so that they line up properly with the 4th line (that reads 'else:') (339-341 need to line up with 342)
- Delete the that 4th line that reads ('else:') and replace it with 'if not IMG_GENKAI_TOPPA:' (line 342)
- I did not yet test the sub-loop in find_vt_threads() (line 142) for searching for the Amelia thread so I don't know if it actually works or not, it's currently commented out (disabled)
- If you add more than 200 images to any of the EN member folders you need to raise the value of 'bigrange' accordingly (line 39)
- You need to make one post manually before starting the script to get captcha solver to work, or at least I had to in my own attempts
- Usually it will find a new thread on its own without you again manually posting unless you get banned in which case you need to clear cookies
Add Comment
Please, Sign In to add comment