From 8a49a28d135e4e7ed826e9bbb86d450671fc4029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 18 Feb 2016 15:54:58 +0100 Subject: [PATCH] replace deprecated 'unescape' method --- gallery_dl/text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gallery_dl/text.py b/gallery_dl/text.py index c4a2a0f7..b69eb004 100644 --- a/gallery_dl/text.py +++ b/gallery_dl/text.py @@ -11,7 +11,7 @@ import sys import re import os.path -import html.parser +import html import urllib.parse import platform @@ -114,4 +114,4 @@ else: unquote = urllib.parse.unquote -unescape = html.parser.HTMLParser().unescape +unescape = html.unescape