Raspberry Pi + Squid: Building a Proxy Server with your Raspberry Pi for Web-scraping

  Рет қаралды 6,894

Shilleh

Shilleh

Күн бұрын

Пікірлер: 16
@jorgevillarreal2245
@jorgevillarreal2245 7 ай бұрын
But if the raspberry "proxy" is on the same local network isn't it using the same public ip address to do webscrapping ? Shouldn't this raspberry proxy be on a network with a different ISP provided public ip so that it can be leveraged correctly to avoid throttling ?
@mmshilleh
@mmshilleh 7 ай бұрын
That's a great question! It's possible to still have some success with web scraping even when using a proxy on the same local network, especially if the websites being scraped aren't actively blocking or throttling requests based on IP addresses. However, for more reliable and efficient web scraping, it's generally recommended to use a proxy with a different public IP address. This helps to distribute requests effectively and reduces the likelihood of being blocked or throttled by websites. If you've had luck with your setup on your local network, it might be because the websites you're scraping haven't implemented strict IP-based blocking or throttling measures. Just keep in mind that as your scraping activities increase or as you target different websites, you may encounter limitations or restrictions.
@davidbotham7090
@davidbotham7090 9 ай бұрын
Great tutorial! I would love to connect a few of these to a single RPI to monitor my filament containers. Do you know if that is possible? And, if so, maybe where there is a howto on something like that?
@mmshilleh
@mmshilleh 9 ай бұрын
Hey man, no I do not know on the top of my head how to do that. You probably need more sensor apparatus than just a simple Pi. If you would like to discuss this in detail feel free to book a consulting slot on the buy me coffee link found on my KZbin profile. Sounds involved yet interesting!
@tsriramaraju
@tsriramaraju 4 ай бұрын
Great tutorial! I was wondering if we could use 3-4 4G LTE modems and rotate the IPs whenever there's a block. Do you have any suggestions on how to achieve this? Please provide some guidance.
@mmshilleh
@mmshilleh 4 ай бұрын
Wow you definitely could sounds like an interesting project. You would have to have some error handling in your Python code I have done something similar. I do not think it is so complicated to do that
@jaxjax7318
@jaxjax7318 4 ай бұрын
I loved to use tail -f comand to the squid log. so I get the real time ip and connections the client was connecting to. it was very helpful to diagnose what IP's i need to block in the firewall
@mmshilleh
@mmshilleh 4 ай бұрын
Thanks for the info!
@bikerjaimph8219
@bikerjaimph8219 14 күн бұрын
Can you make 2 VM raspberry. One is act like client and the other one is a proxy server squid
@mmshilleh
@mmshilleh 11 күн бұрын
Inshallah
@jaredpullman1173
@jaredpullman1173 5 ай бұрын
How can you adjust the squid.conf to allow remote use of the proxy? If I set the proxy I made as my browser proxy on my laptop it works great when I’m connected to the same wifi network but if I’m at a friends house on their wifi and try using the proxy as my browser proxy, it will not prompt for user authentication hence disallowing remote connection.
@mmshilleh
@mmshilleh 4 ай бұрын
You can do these sorts of things easily with Tailscale. I recommend looking into that.
@MASKDANTE
@MASKDANTE 3 ай бұрын
I have an internet connection that has a proxy and its IP is 192.168.49.1:8000, in order to connect to the internet I must configure this data, how do I configure the same on the raspberry pi4, I have not been able to use the internet via wifi, the raspberry pi4 connects to the wifi and assigns an IP automatically but does not browse because I have not configured this data as would be done when it is in client mode.
@mmshilleh
@mmshilleh 3 ай бұрын
I am not sure my friend
@JamminJosh7
@JamminJosh7 2 ай бұрын
Did you try manually setting a static IP in the router admin page?
@mmshilleh
@mmshilleh 2 ай бұрын
@@JamminJosh7 I have done that before yes
Raspberry Pi Travel Router - RaspAP (2024)
15:06
Everyday Tech
Рет қаралды 126 М.
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 127 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 285 МЛН
Wait… Maxim, did you just eat 8 BURGERS?!🍔😳| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 9 МЛН
Boost Web Performance with Squid Proxy Server on Ubuntu 22.04
19:05
Raspberry Pi Pico - Getting Started with MicroPython REPL (on Windows)
10:28
The TOP 3 uses for a Raspberry Pi!!
12:07
NetworkChuck
Рет қаралды 1,5 МЛН
Proxy vs Reverse Proxy vs Load Balancer | Simply Explained
13:19
TechWorld with Nana
Рет қаралды 190 М.
You're running Pi-Hole wrong! Setting up your own Recursive DNS Server!
18:02
Easy Raspberry Pi Projects for 2023!
10:03
Crosstalk Solutions
Рет қаралды 881 М.
The ULTIMATE Raspberry Pi 5 NAS
32:14
Jeff Geerling
Рет қаралды 2,3 МЛН
Free Hacking API courses (And how to use AI to help you hack)
53:46
David Bombal
Рет қаралды 115 М.