[Found] Rust equivalent of Python's mechanize

Hello,

I am searching for a way of either a way to emulate the behavior of this function or to call its Python version from Rust.

I have tried to use Reqwest to emulate it without any luck : I think that the fact that Javascript is disabled is preventing the fetching of the HTML rendered page.

I am trying to use PyO3 and rustypy to call the Python version to send back the page but the installation of rustypy via pip is greeting me with RuntimeError: Format missing, but need one (identified source as text as no file with that name was found). from pypandoc

Would you have any lead on how to advance on any of this leads ?

Thanks in advance,

To answer my question and help future ones that may have the same interrogations : the crate fantoccini seems to be the most interesting candidate for the job.

4 Likes