You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title suggests, is there any way to set the proxyUrl through the beforeRequest hook?
Ideally I'd like to do this on the beforeRetry hook but we cannot access the options object from there.
It should sort of act like a proxy rotation system - if the request fails, call a function which returns a new proxy and set it as the new proxyUrl.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey!
First off all thanks for this amazing package!
As the title suggests, is there any way to set the proxyUrl through the beforeRequest hook?
Ideally I'd like to do this on the beforeRetry hook but we cannot access the options object from there.
It should sort of act like a proxy rotation system - if the request fails, call a function which returns a new proxy and set it as the new proxyUrl.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions