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.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-01-05 1.1 kB
Version 1.0.0.tar.gz 2021-01-05 147.1 kB
Version 1.0.0.zip 2021-01-05 162.3 kB
Totals: 3 Items   310.5 kB 0

This is the last release that will support Python 2.7. Thanks to the many contributors that made this release possible!

Main changes:

  • Added support for Python 3.8 and 3.9.

  • StatefulBrowser has new properties page, form, and url, which can be used in place of the methods get_current_page, get_current_form and get_url respectively (e.g. the new x.page is equivalent to x.get_current_page()). These methods may be deprecated in a future release. [#175]

  • StatefulBrowser.form will raise an AttributeError instead of returning None if no form has been selected yet. Note that StatefulBrowser.get_current_form() still returns None for backward compatibility.

Bug fixes

  • Decompose <select> elements with the same name when adding a new input element to a form. [#297]

  • The params and data kwargs passed to submit will now properly be forwarded to the underlying request for GET methods (whereas previously params was being overwritten by data). [#343]

Source: README.md, updated 2021-01-05