Download Latest Version Version 1.4.0 source code.tar.gz (151.6 kB)
Email in envelope

Get an email when there's a new version of MechanicalSoup

Home / v1.3.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-07-04 902 Bytes
Version 1.3.0.tar.gz 2023-07-04 151.2 kB
Version 1.3.0.zip 2023-07-04 167.4 kB
Totals: 3 Items   319.5 kB 0

Breaking changes

  • To prevent malicious web servers from reading arbitrary files from the client, files must now be opened explicitly by the user in order to upload their contents in form submission. For example, instead of:

python browser["upload"] = "/path/to/file"

you would now use:

python browser["upload"] = open("/path/to/file", "rb")

This remediates CVE-2023-34457. Our thanks to @e-c-d for reporting and helping to fix the vulnerability!

Main changes

  • Added support for Python 3.11.

  • Allow submitting a form with no submit element. This can be achieved by passing submit=False to StatefulBrowser.submit_selected. Thanks @alexreg! [#480]

Source: README.md, updated 2023-07-04