Skip to content

Releases: maxhumber/gazpacho

1.1

09 Oct 12:51
Compare
Choose a tag to compare

1.1 (2020-10-09)

  • Feature: now PEP 561 compliant
  • Feature: Soup now automatically formats and indents (pretty print) HTML where possible

1.0

24 Sep 18:06
Compare
Choose a tag to compare
1.0

1.0 (2020-09-24)

  • Feature: gazpacho is now fully baked with type hints (thanks for the suggestion @ju-sh!)
  • Feature: Soup.get("url") alternative initializer
  • Fixed: .find is now able to capture malformed void tags (<img />, vs. <img>) (thanks for the Issue @mallegrini!)
  • Renamed: .find(..., strict=) is now find(..., partial=)
  • Renamed: .remove_tags is now .strip

0.9.4

07 Jul 17:59
Compare
Choose a tag to compare

0.9.4 (2020-07-07)

  • Feature: automagical json-to-dictionary return behaviour for get
  • Improvement: automatic missing URL protocol inference for get
  • Improvement: condensed HTTPError Exceptions

0.9.3

29 Apr 14:02
Compare
Choose a tag to compare

0.9.3 (2020-04-29)

  • Updated the README (thanks for flagging the lxml error, @koaning!)

0.9.2

21 Apr 13:21
Compare
Choose a tag to compare

0.9.2 (2020-04-21)

  • Fixed find(..., mode='first') to return None and not an IndexError (thanks, psyonara!)

0.9.1

16 Feb 19:18
Compare
Choose a tag to compare
  • Fixed UnicodeEncodeError lurking beneath get (thanks for the "Issue" mlehotay!)
  • Fixed find method to properly handle non-closing HTML tags

0.9

25 Nov 21:34
Compare
Choose a tag to compare
0.9
  • Added the remove_tags method for isolating formatted text in a block of HTML

0.8.1

11 Oct 00:44
535e6c1
Compare
Choose a tag to compare

Changelog

  • Fixed empty element tag counting within the find method

0.8

07 Oct 20:20
Compare
Choose a tag to compare
0.8

Changelog

  • Added mode argument to the find method to adjust return behaviour (defaults to mode='auto')
  • Enabled strict attribute matching for the find method (defaults to strict=False)