Path to this page:
Subject: CVS commit: pkgsrc/www/py-MechanicalSoup
From: Adam Ciarcinski
Date: 2018-08-02 17:39:31
Message id: 20180802153932.04A88FBEC@cvs.NetBSD.org
Log Message:
py-MechanicalSoup: updated to 0.10.0
Version 0.10
Main changes:
Added StatefulBrowser.refresh() to reload the current page with the same request.
StatefulBrowser.follow_link, StatefulBrowser.submit_selected() and the new \
StatefulBrowser.download_link now sets the Referer: HTTP header to the page from \
which the link is followed.
Added method StatefulBrowser.download_link, which will download the contents of \
a link to a file without changing the state of the browser.
The selector argument of Browser.select_form can now be a bs4.element.Tag in \
addition to a CSS selector.
Browser.submit and StatefulBrowser.submit_selected accept a larger number of \
keyword arguments. Arguments are forwarded to requests.Session.request.
Internal changes:
StatefulBrowser.choose_submit will now ignore input elements that are missing a \
name-attribute instead of raising a KeyError.
Private methods Browser._build_request and Browser._prepare_request have been \
replaced by a single method Browser._request.
Files: