wkeeling / selenium-wire

Extends Selenium's Python bindings to give you the ability to inspect requests made by the browser.
MIT License
1.86k stars 241 forks source link

Decode response with errors parameter #642

Open savelkouls opened 1 year ago

savelkouls commented 1 year ago

Some websites have emoji's and those do not decode properly in python when the website uses PHP. Passing a default 'strict' to decoder.decode, with the option to override it with 'ignore' or 'replace' will make life a bit more easy.