diff --git a/.travis.yml b/.travis.yml index 33b52ebe..a7da072d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,5 @@ python: install: - pip install -r requirements.txt script: - - nosetests --verbose test + - if [[ $TRAVIS_PYTHON_VERSION != '3.3' ]]; then nosetests --ignore-files=test_extractors --verbose test; fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then nosetests --verbose test; fi diff --git a/gallery_dl/text.py b/gallery_dl/text.py index 8b4ce91d..2f82356c 100644 --- a/gallery_dl/text.py +++ b/gallery_dl/text.py @@ -116,5 +116,5 @@ unquote = urllib.parse.unquote try: unescape = html.unescape except AttributeError: - import html.parse - unescape = html.parse.HTMLParser().unescape + import html.parser + unescape = html.parser.HTMLParser().unescape