How do I open a website in Python?
I'm trying to make a bot where you can type in a website URL and the bot will open that website. But how do I go to a website? All the tutorials I've tried don't work.
Voters
Geocube101
You can open it and retrieve the page source code with BeautifulSoup and requests, but if you want a search engine (like when using selenium) then that must be done on your computer
[deleted]
What language are using using to create the bot? Have you a repl of the bot code that you can share?
Human9
@malvoliothegood I'm using Python for the bot. I don't have a repl of the bot's code. I'm just trying to see if opening a website is even possible on repl.
Because repl.it runs on a VM and there's no GUI, there's no possible way for you to do it unless you run the code on your own computer.