N
N
nikolaymoroz0v2021-07-21 10:33:53
Parsing
nikolaymoroz0v, 2021-07-21 10:33:53

How to make requests to the site regarding different cities?

I welcome everyone.
Let's say I'm parsing a site that has many cities.
And, for example, you need to make a request and parse the site, but first for Moscow, and then for Samara (for example), then for St. Petersburg.
That is, on the site you can select the desired city and see, but how to get data on cities, but through get requests?
And there is no such thing as
https://example.ru/moscow/
or
https://example.ru/petersburg/
That is, the choice of the city does not affect the url of the site.

How is such parsing implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Developer, 2021-07-21
@nikolaymoroz0v

1. pass the city parameter
2. spoof the IP address through a proxy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question