ulixee / hero

The web browser built for scraping
MIT License
800 stars 41 forks source link

User profile won't restore whe disableMitm is true #147

Closed Baker68 closed 2 years ago

Baker68 commented 2 years ago

I am aware of session.mitmRequestSession.interceptorHandlers used to restore profiles ; image

The reason why I am reporting this is because reCAPTCHA requests are blocked when disableMitm is false (when MITM is enabled) and I can only login if I complete the reCAPTCHA ;

So now that I can login with MITM disabled , I can't restore the profile.

image

blakebyrnes commented 2 years ago

Thanks for logging this. It's a known limitation of the current profiles with MITM, but I think we could work around it by intercepting with devtools instead of the mitm.