From: John Runyon Date: Mon, 2 Oct 2023 23:36:11 +0000 (-0600) Subject: urls - skip new reddit since titles are useless on it X-Git-Url: https://jfr.im/git/erebus.git/commitdiff_plain/cf848537c36e5ac801fbab08034ef33381450818 urls - skip new reddit since titles are useless on it --- diff --git a/modules/urls.py b/modules/urls.py index df6d8ea..fabd7ab 100644 --- a/modules/urls.py +++ b/modules/urls.py @@ -318,6 +318,7 @@ url_regex = ( ) other_regexes = ( (lambda x: '', (re.compile(r"""https?://(?:www\.)?(?:twitter|x)\.com/""", re.I),)), # skip twitter + (lambda x: '', (re.compile(r"""https?://(?:www\.)?reddit\.com/""", re.I),)), # skip new-reddit ) regexes = other_regexes + ( (goturl, url_regex),