D
D
DoctorGata2019-05-22 14:40:50
Python
DoctorGata, 2019-05-22 14:40:50

How to connect to a proxy server in Beautifulsoup4?

Hello everyone, I am writing a script on Anaconda using Beautifulsoup and I want to connect to the Smartproxy proxy network, can you tell me where to start? I want the IP to change with every request.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2019-05-22
@DoctorGata

You need to start with the understanding that BeautifulSoup only parses the html markup, and does not participate in receiving it from the server. Accordingly, the issue of connecting to a proxy has nothing to do with BeautifulSoup. The next step is to read the documentation of the library that you use to get the markup from the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question