How to make an unblocker
I've seen a lot of unblockers out there, but none of them are mine so here's mine.
The basic concept of an unblocker is that we will utilize repl.it's virtual machine and their internet to provide not only an unblocker, but a vpn! (in california or smth)
After you make your repl, we will hack together a
run = "pip install webbot ; clear ; python main.py"
Make sure you have a
main.py if you are using a bash repl!
What this one-liner does is simply install
webbot (our app to open up web browser), clear the screen of the installing notices, and then run
Our first window
Add this code into your
from webbot import Browser web = Browser() web.go_to("https://repl.it/") while True: pass
What this code does is that from
webbot (the previously mentioned library) we import the Browser class. We create an instance
web, and we use a method,
go_to which goes to a URL. The while loop is to stop the program from exiting, so you can actually interact with the website.
Alright, lets make this user friendly now!
from webbot import Browser web = Browser() web.go_to(input("website : ")) while True: web.type(input("your key : "))
First, we still have the same code, but now it will go to a website that the user specifies! Afterwards, inside our while loop we will make it so that it takes user input and then types it in to the website! (Like simulating a key press!)
Take a look:
This is not only what
webbot can do. You can also automate many more things! Read the documentation to learn more!