I am consuming several APIs (not web pages) which requires cloudscraper to work consistently. So far with the v1 version, I have issuing a preflight request with cloudscraper before every API call and then proceeded to store the returned headers for the actual request, which is fetched normally.
What's the recommended approach here when upgrading to v4 - continue doing that or using the cloudscraper-wrapped request-promise for requesting URLs directly?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am consuming several APIs (not web pages) which requires cloudscraper to work consistently. So far with the
v1
version, I have issuing a preflight request with cloudscraper before every API call and then proceeded to store the returned headers for the actual request, which is fetched normally.What's the recommended approach here when upgrading to
v4
- continue doing that or using the cloudscraper-wrappedrequest-promise
for requesting URLs directly?