From 48643a88e76148553af9fa3640a57e57d6ac137a Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Tue, 27 Sep 2022 16:31:16 +1300 Subject: [PATCH] fix feedparser imports --- rawdoglib/rawdog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rawdoglib/rawdog.py b/rawdoglib/rawdog.py index b9d79dc..8fcba17 100644 --- a/rawdoglib/rawdog.py +++ b/rawdoglib/rawdog.py @@ -54,9 +54,9 @@ # The sanitisation code was restructured in feedparser 5.3. try: - _resolveRelativeURIs = feedparser.urls._resolveRelativeURIs + _resolveRelativeURIs = feedparser.urls.resolve_relative_uris except AttributeError: - _resolveRelativeURIs = feedparser._resolveRelativeURIs + _resolveRelativeURIs = feedparser.resolve_relative_uris try: _HTMLSanitizer = feedparser.sanitizer._HTMLSanitizer except AttributeError: