From 22e5cf30c350afe9ccf67d5fcc242a1c4ce81a4b Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sun, 16 May 2021 19:07:07 +0800 Subject: [PATCH] remove unsupported encoding method --- rssparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rssparser.py b/rssparser.py index 94e79af..8432a00 100644 --- a/rssparser.py +++ b/rssparser.py @@ -355,7 +355,7 @@ class RSSParser: def parse(self, fn: str): try: if fn.find('://') > -1: - header = {"Accept-Encoding": "gzip, deflate, br"} + header = {"Accept-Encoding": "gzip, deflate"} re = requests.get(fn, headers=header) re.encoding = 'utf8' if re.status_code == 200: