From 0149b27ca1e37a383a60a9e3e5dce8aba84e6118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar?= Date: Wed, 12 Jul 2023 15:11:08 +0200 Subject: [PATCH] make format --- ural/could_be_rss.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ural/could_be_rss.py b/ural/could_be_rss.py index 2f2d105d..cc578ad0 100644 --- a/ural/could_be_rss.py +++ b/ural/could_be_rss.py @@ -16,7 +16,9 @@ ("feeds2.feedburner.com", ""), ("news.google.com", "rss/topics"), ] -QUERY_RE = re.compile(r"((page\=backend)|(?:feed|format|type)\=(?:xml|feed|atom|rss))", re.I) +QUERY_RE = re.compile( + r"((page\=backend)|(?:feed|format|type)\=(?:xml|feed|atom|rss))", re.I +) OBVIOUS_EXT_RE = re.compile( r"((^$)|(\/[^\.]*$)|(.+\.(?:xml|php|json|atom|rss)$))", re.I )