You can proxy with Tor too. Obviously it's pretty slow though, and it doesn't work on a lot of websites, but it might be useful in some instances if you're getting IP restriction problems using other methods.
What you need to do is go to the Tor download page, then download the "Tor expert bundle" for your computer
https://www.torproject.org/download/tor/
Then put the expert bundle files in a folder somewhere on your PC. Then in a command line go to that folder and run tor.exe which should start the service, you'll see it say "bootstrapping" for a while.
Then you can use the proxy like in this node.js sample that's using playwright. Or you can just do direct http GET requests for the HTML if the website will allow that
import { chromium } from "@playwright/test";
(async () => {
const browser = await chromium.launch({
proxy: {
server: "socks5://127.0.0.1:9050"
},
headless: false
});
const page = await browser.newPage();
await page.goto("https://api.ipify.org/?format=json");
const html = await page.content();
console.log(html);
await browser.close();
})();
In some cases you might want to restrict the Tor service to only use exit nodes from a certain country. I can't remember exactly how to do that, it's in a settings file you need to edit somewhere, but you can probably find out pretty easy online