Revisions of python-MechanicalSoup
Ana Guerrero (anag+factory)
accepted
request 1131724
from
Dirk Mueller (dirkmueller)
(revision 10)
- update to 1.3.0 (bsc#1213006, CVE-2023-34457): * 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. This remediates CVE-2023-34457 * 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] - Update to version 1.2.0 Add support for HTML form-associated elements which exposed more local information than users may have been expecting. [#375]
Dominique Leuenberger (dimstar_suse)
accepted
request 1010200
from
Dirk Mueller (dirkmueller)
(revision 8)
Dominique Leuenberger (dimstar_suse)
accepted
request 862170
from
Steve Kowalik (StevenK)
(revision 7)
- Update to 1.0.0 * 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 * ``StatefulBrowser.form`` will raise an ``AttributeError`` instead of returning ``None`` if no form has been selected yet. * Decompose ``<select>`` elements with the same name when adding a new input element to a form. * 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``).
Dominique Leuenberger (dimstar_suse)
accepted
request 785889
from
Tomáš Chvátal (scarabeus_iv)
(revision 6)
- Fix build on Leap
Dominique Leuenberger (dimstar_suse)
accepted
request 681856
from
Tomáš Chvátal (scarabeus_iv)
(revision 4)
- Add patch to work with beautifulsoup4-4.7+: * bs4-47.patch - Update to 0.11.0: * Constructing a Form instance from a bs4.element.Tag whose tag name is not form will now emit a warning, and may be deprecated in the future. [#228] * Breaking Change: LinkNotFoundError now derives from Exception instead of BaseException. While this will bring the behavior in line with most people's expectations, it may affect the behavior of your code if you were heavily relying on this implementation detail in your exception handling. [#203] * Improve handling of button submit elements. Will now correctly ignore buttons of type button and reset during form submission, since they are not considered to be submit elements. [#199] * Do a better job of inferring the content type of a response if the Content-Type header is not provided. [#195] * Improve consistency of query string construction between MechanicalSoup and web browsers in edge cases where form elements have duplicate name attributes. This prevents errors in valid use cases, and also makes MechanicalSoup more tolerant of invalid HTML. [#158]
Dominique Leuenberger (dimstar_suse)
accepted
request 659276
from
Matej Cepl (mcepl)
(revision 3)
- Remove superfluous devel dependency for noarch package
Dominique Leuenberger (dimstar_suse)
accepted
request 610488
from
Tomáš Chvátal (scarabeus_iv)
(revision 2)
Dominique Leuenberger (dimstar_suse)
accepted
request 606012
from
Todd R (TheBlackCat)
(revision 1)
Automating interaction with websites
Displaying all 10 revisions