Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Make curl works as web proxy
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Rodrigo s via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 25 Jan 2022 17:21:39 -0300
My school has a proxy that blocks some sites. If I try to access youtube.com,
it will block.
But, if I have my server running php and the server downloads this page, I
can bypass the block. Obviously, youtube is complex. There are a lot of
javascript and images.
My question is: Is there a program that helps to make a page work? Can the
curl bypass the proxy? What is the name of this kind of technology?
In other words, this is how I think it works:
- In a normal website, my browser does:
- Get the page
- Then read the link of every image and javascript
- Download this images and javascript and render in page
- There are more complex thing I will ignore
- In the php page, it will do:
- I type a URL.
- Curl will download the page and show in my browser (this is easy to
do)
- Then, my browser will see the images and javascript
- The browser will make the request to download these images and
javascript
- Somehow, these requests will be sent to my server. It will download
the necessary and the browser will render it
- If I click in the link, the request will be send to my server that
will download and show the page
I know there are other technologies that make it possible. But, only using
php on another server, is it possible to do things like I want?
Date: Tue, 25 Jan 2022 17:21:39 -0300
My school has a proxy that blocks some sites. If I try to access youtube.com,
it will block.
But, if I have my server running php and the server downloads this page, I
can bypass the block. Obviously, youtube is complex. There are a lot of
javascript and images.
My question is: Is there a program that helps to make a page work? Can the
curl bypass the proxy? What is the name of this kind of technology?
In other words, this is how I think it works:
- In a normal website, my browser does:
- Get the page
- Then read the link of every image and javascript
- Download this images and javascript and render in page
- There are more complex thing I will ignore
- In the php page, it will do:
- I type a URL.
- Curl will download the page and show in my browser (this is easy to
do)
- Then, my browser will see the images and javascript
- The browser will make the request to download these images and
javascript
- Somehow, these requests will be sent to my server. It will download
the necessary and the browser will render it
- If I click in the link, the request will be send to my server that
will download and show the page
I know there are other technologies that make it possible. But, only using
php on another server, is it possible to do things like I want?
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-01-25