diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2018-06-21 11:49:25 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2018-06-21 11:49:25 +0200 |
commit | d19c692ad2f0a00beb4d892d2a165bdd270b1446 (patch) | |
tree | b2f5de90fbadb0f60751c7048254b49853ff2893 /crocoite/behavior.py | |
parent | 6c58093eefec13044c836a97a2dacdee162836db (diff) | |
download | crocoite-d19c692ad2f0a00beb4d892d2a165bdd270b1446.tar.gz crocoite-d19c692ad2f0a00beb4d892d2a165bdd270b1446.tar.bz2 crocoite-d19c692ad2f0a00beb4d892d2a165bdd270b1446.zip |
Fix a few issues pointed out by pylint
Diffstat (limited to 'crocoite/behavior.py')
-rw-r--r-- | crocoite/behavior.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crocoite/behavior.py b/crocoite/behavior.py index ffdc50c..ab859f8 100644 --- a/crocoite/behavior.py +++ b/crocoite/behavior.py @@ -23,7 +23,6 @@ Generic and per-site behavior scripts """ import logging, time -from io import BytesIO from urllib.parse import urlsplit import os.path import pkg_resources @@ -31,13 +30,11 @@ from base64 import b64decode from collections import OrderedDict from html5lib.serializer import HTMLSerializer -from warcio.statusandheaders import StatusAndHeaders from pychrome.exceptions import TimeoutException -from .util import randomString, packageUrl, getFormattedViewportMetrics +from .util import randomString, getFormattedViewportMetrics from . import html from .html import StripAttributeFilter, StripTagFilter, ChromeTreeWalker -from .browser import SiteLoader logger = logging.getLogger(__name__) |