Use proxies to bypass Cloudflare and CAPTCHA
mainThe library uses cloudscraper to handle Cloudflare protection. However, long-term use may trigger CAPTCHAs. To mitigate this, provide a list of HTTPS proxy strings to the proxies argument during CianParser initialization. The parser will automatically test each proxy to find one that is available and does not trigger a CAPTCHA.
proxies = [
'117.250.3.58:8080',
'115.96.208.124:8080',
'152.67.0.109:80',
]
moscow_parser = cianparser.CianParser(location="Москва", proxies=proxies)