summaryrefslogtreecommitdiff
path: root/examples/htmlStripper.py
Commit message (Collapse)AuthorAgeFilesLines
* Blacken the project (#141)Jon Dufresne2019-10-311-6/+17
|
* Remove unused imports (#147)Jon Dufresne2019-10-191-2/+1
| | | | | Discovered using the command: flake8 --select F401 .
* Py3 cleanup: Remove use of closing() with urlopen() (#145)Jon Dufresne2019-10-171-3/+3
| | | | | | | | | In Python 3, urlopen() can always be used as a context manager. Wrapping with closing() is not necessary. https://docs.python.org/3/library/urllib.request.html#urllib.request.urlopen > This function always returns an object which can work as a context > manager …
* Fixed dict structure in makeHTMLTags expressions, and added tag_body ↵Paul McGuire2019-04-061-32/+32
| | | | attribute to the generated start expression giving easy access to a SkipTo(closeTag) that will parse the tag's body text; some code cleanup and removed duplication among examples
* Use HTTPS URLs where available in docs, examples, and commentsJon Dufresne2018-12-251-1/+1
|
* Trim trailing white space throughout the projectJon Dufresne2018-12-221-4/+4
| | | | | | Many editors clean up trailing white space on save. By removing it all in one go, it helps keep future diffs cleaner by avoiding spurious white space changes on unrelated lines.
* Move src to rootCengiz Kaygusuz2017-11-201-0/+32