K
K
kopelev20002019-01-21 17:10:36
Python
kopelev2000, 2019-01-21 17:10:36

How to parse data from the site if the site does not allow you to enter from the CIS region?

I need to parse some information from the site yad2.co.il, when I try to do this, it gives “Access Denied”, what can I do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sudo rm -rf /, 2019-01-21
@kopelev2000

To do this, you need to use a proxy server .
You can enable it either at the OS level (but then all your connections will go through it),
or directly from the script using the tools of the library you are parsing.
Examples:

  • For Scrapy
  • For Requests
  • For selenium

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question