./www/py-MechanicalSoup, Library for automating interaction with websites

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.1.0nb1, Package name: py39-MechanicalSoup-1.1.0nb1, Maintainer: leot

A Python library for automating interaction with websites.
MechanicalSoup automatically stores and sends cookies, follows
redirects, and can follow links and submit forms. It doesn't do
Javascript.


Required to run:
[devel/py-setuptools] [textproc/py-lxml] [www/py-beautifulsoup4] [devel/py-requests] [lang/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/py-test-runner]

Master sites:

Filesize: 48.115 KB

Version history: (Expand)


CVS history: (Expand)


   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2021-03-01 21:42:12 by Leonardo Taccari | Files touched by this commit (1)
Log message:
py-MechanicalSoup: Take maintainership
   2021-02-06 21:45:45 by Leonardo Taccari | Files touched by this commit (2)
Log message:
py-MechanicalSoup: Update to 1.0.0

Changes:
1.0.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]
   2020-03-22 13:28:28 by Roland Illig | Files touched by this commit (3)
Log message:
www/py-*: fix test dependencies for Python 2.7
   2020-02-29 20:43:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-MechanicalSoup: updated to 0.12.0

Version 0.12

Main changes:
* Changes in official python version support: added 3.7 and dropped 3.4.
* Added ability to submit a form without updating ``StatefulBrowser`` internal
  state: ``submit_selected(..., update_state=False)``. This means you get a
  response from the form submission, but your browser stays on the same page.
  Useful for handling forms that result in a file download or open a new tab.

Bug fixes
* Improve handling of form enctype to behave like a real browser.
* HTML ``type`` attributes are no longer required to be lowercase.
* Form controls with the ``disabled`` attribute will no longer be submitted
  to improve compliance with the HTML standard. If you were relying on this
  bug to submit disabled elements, you can still achieve this by deleting the
  ``disabled`` attribute from the element in the :class:`~mechanicalsoup.Form`
  object directly.
* When a form containing a file input field is submitted without choosing a
  file, an empty filename & content will be sent just like in a real browser.
* ``<option>`` tags without a ``value`` attribute will now use their text as
  the value.
* The optional ``url_regex`` argument to ``follow_link`` and ``download_link``
  was fixed so that it is no longer ignored.
* Allow duplicate submit elements instead of raising a LinkNotFoundError.
   2018-12-03 20:59:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-MechanicalSoup: updated to 0.11.0

Version 0.11

This release focuses on fixing bugs related to uncommon HTTP/HTML
scenarios and on improving the documentation.

Bug fixes

* Constructing a :class:~mechanicalsoup.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.

* **Breaking Change:** :class:~mechanicalsoup.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.

* 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.

* Do a better job of inferring the content type of a response if the
  Content-Type header is not provided.

* 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.