From 158ef57ca6616c1df7a9eca54a68fd9d93fd3f5a Mon Sep 17 00:00:00 2001 From: Kazuki Suzuki Przyborowski Date: Mon, 6 Nov 2023 18:09:38 -0600 Subject: [PATCH] Update pywwwget.py --- pywwwget.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pywwwget.py b/pywwwget.py index b2fe036..7f81360 100644 --- a/pywwwget.py +++ b/pywwwget.py @@ -24,6 +24,8 @@ try: from cgi import parse_qsl; except ImportError: from urlparse import parse_qsl; +except ModuleNotFoundError: + from urlparse import parse_qsl; except (DeprecationWarning, TypeError): from urlparse import parse_qsl; haverequests = False; -- 2.11.4.GIT