ScrapeNinja

FREEMIUM
(Ким) Anthony | Оновлено 25 days ago | Data
Популярність

9.9 / 10

Затримки

3,767ms

Рівень обслуговування

98%

Health Check

N/A

Повернутися до всіх обговорень

Cloudflare Challenge

Rapid account: Luxint 66
luxint66
un anno fa

I’m using your api to scrape an api page behind CF that I can get without using js. Occasionally CF seems to catch an IP and flag it and throws back a challenge page.

Is there anyway to capture the cf http error that triggers the challenge page so that I can then retry with scrape-js?

Thanks for your very useful api

Lux

Rapid account: Luxint 66
luxint66 Commented un anno fa

I’d already considered parsing the return html and calling the api again, but I was wondering if there was a more elegant way to do it. No worries. Changing geo wouldn’t help in my situation as I need to be calling the api from the US to get the correct pricing.

Thanks anyway

Lux

Rapid account: Restyler
restyler Commented un anno fa

Hi! Thank you!
There is no way to do this using crapeninja options, but of course you can implement such logic in your code. did you try to switch “geo” parameter instead?

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення