Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

429, 403 Ошибки #45

Open
Kent4r opened this issue Oct 22, 2024 · 1 comment
Open

429, 403 Ошибки #45

Kent4r opened this issue Oct 22, 2024 · 1 comment

Comments

@Kent4r
Copy link

Kent4r commented Oct 22, 2024

429 Ошибка вылетает при парсинге >2 страниц
Потом никакие прокси не встают, даже собственного производства
403 как альтернатива прокси - VPN, вне зависимости от страны кидает 403

На данный момент с включенным флагом with_extra_data только по 3-5 объявлений собирается с двух страниц с перерывами по 2 минуты между каждыми.
import cianparser from time import sleep a=0 while a < 52: data = cianparser.CianParser(location="Москва").get_flats(deal_type="sale", rooms=(3,4), with_saving_csv=True, with_extra_data=True, additional_settings={"start_page":1+a, "end_page":2+a}) sleep(120) a+=2

@tmwsw
Copy link

tmwsw commented Oct 22, 2024

Обоюдно🤙

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants