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.1.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-05-29 891 Bytes
Version 1.1.0.tar.gz 2021-05-29 148.8 kB
Version 1.1.0.zip 2021-05-29 164.8 kB
Totals: 3 Items   314.4 kB 0

Main changes

  • Dropped support for EOL Python versions: 2.7 and 3.5.

  • Increased minimum version requirement for requests from 2.0 to 2.22.0 and beautifulsoup4 from 4.4 to 4.7.

  • Use encoding from the HTTP request when no HTML encoding is specified. [#355]

  • Added the put method to the Browser class. This is a light wrapper around requests.Session.put. [#359]

  • Don't override Referer headers passed in by the user. [#364]

  • StatefulBrowser methods follow_link and download_link now support passing a dictionary of keyword arguments to requests, via requests_kwargs. For symmetry, they also support passing Beautiful Soup args in as bs4_kwargs, although any excess **kwargs are sent to Beautiful Soup as well, just as they were previously. [#368]

Many thanks to the contributors who made this release possible!

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