diff options
author | makefu <github@syntax-fehler.de> | 2020-03-31 22:23:38 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-03-31 22:23:38 +0200 |
commit | e4942fdab9a43712d56b38dbdb8421d38d7743df (patch) | |
tree | f45314001e9e80bcf9ca1d6ec22126db0907e751 /ebknotify/client.py | |
parent | b9471e7b0576dfbb1157c639c4a34b243f9dd61e (diff) |
ebknotify: add feed
Diffstat (limited to 'ebknotify/client.py')
-rw-r--r-- | ebknotify/client.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ebknotify/client.py b/ebknotify/client.py index 3abcb07..73f2363 100644 --- a/ebknotify/client.py +++ b/ebknotify/client.py @@ -35,16 +35,6 @@ from datetime import datetime from dateutil.tz import tzlocal import logging -logging.basicConfig(level=logging.DEBUG) - -try: - from html import unescape # python 3.4+ -except ImportError: - try: - from html.parser import HTMLParser # python 3.x (<3.4) - except ImportError: - from HTMLParser import HTMLParser # python 2.x - unescape = HTMLParser().unescape class EbkClient: @@ -222,6 +212,4 @@ class EbkClient: locations = self.get_locations(url_suffix, depth, include_parent_path) return locations - def html_unescape(self, data): - return unescape(data.decode()) |