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

  Рет қаралды 7,513

Shilleh

Shilleh

Күн бұрын

Пікірлер
@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 10 ай бұрын
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 10 ай бұрын
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!
@bikerjaimph8219
@bikerjaimph8219 Ай бұрын
Can you make 2 VM raspberry. One is act like client and the other one is a proxy server squid
@mmshilleh
@mmshilleh Ай бұрын
Inshallah
@tsriramaraju
@tsriramaraju 5 ай бұрын
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 5 ай бұрын
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
@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 5 ай бұрын
You can do these sorts of things easily with Tailscale. I recommend looking into 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!
@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 3 ай бұрын
Did you try manually setting a static IP in the router admin page?
@mmshilleh
@mmshilleh 3 ай бұрын
@@JamminJosh7 I have done that before yes
the Raspberry Pi 5
17:57
NetworkChuck
Рет қаралды 1,2 МЛН
How to Create a Proxy // Squid (HTTP) and SOCKS
14:04
Dev Odyssey
Рет қаралды 176 М.
Thank you Santa
00:13
Nadir Show
Рет қаралды 51 МЛН
I was just passing by
00:10
Artem Ivashin
Рет қаралды 18 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 17 МЛН
I Control EVERYTHING with this Raspberry Pi
8:58
Jeff Geerling
Рет қаралды 322 М.
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Hardware Haven
Рет қаралды 1,2 МЛН
Raspberry Pi 5: Getting Started
24:43
Jeff Geerling
Рет қаралды 518 М.
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Рет қаралды 1 МЛН
This Open Source Scraper CHANGES the Game!!!
20:36
Reda Marzouk
Рет қаралды 118 М.
Building a Low-Power, Fully Loaded Plex Server
19:47
Techno Tim
Рет қаралды 63 М.
the Raspberry Pi PHONE SYSTEM! (3CX PBX at home)
14:49
NetworkChuck
Рет қаралды 749 М.
Boost Web Performance with Squid Proxy Server on Ubuntu 22.04
19:05
SQL Injection | Complete Guide
1:11:53
Rana Khalil
Рет қаралды 259 М.
Your ISP is lying! Monitor your Internet with a Pi
8:05
Jeff Geerling
Рет қаралды 303 М.
Thank you Santa
00:13
Nadir Show
Рет қаралды 51 МЛН