Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I browse the net using python?
#1
This might sound crazy...
Let's say I have a pc in USA
Can I browse from the UK using python?
Assuming we have a remote connection of some sort?

Could I browse and use the Internet and have a graphical output on my pc in the UK, but not needing one in USA?

Websites that I browse with python, what do they see as the client? Assuming that they know when you access using Firefox or chrome or other browser? So what browser do they see you using if you use python?

Thanks.
Reply
#2
You can use Selenium with Chromedriver and a UK proxy.

If you just want to browse the Internet and appear to be from the UK, you can use your regular browser with a proxy. Selenium is more for automating browser tasks.
Reply
#3
You can run a proxy on the USA pc and browse through that proxy from any point in the world.
You can specify the User-agent in the request:

import requests

headers = {"User-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"}

webpage = requests.get("http://selenium-python.readthedocs.io/", headers=headers)
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#4
Big Grin yes you can.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  browse a python prog on intranet joeydream 0 1,681 May-18-2020, 10:49 AM
Last Post: joeydream
  browse a python program on intranet with other device joeydream 0 1,375 May-18-2020, 03:28 AM
Last Post: joeydream

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020