]> jfr.im git - erebus.git/commitdiff
urls - skip new reddit since titles are useless on it
authorJohn Runyon <redacted>
Mon, 2 Oct 2023 23:36:11 +0000 (17:36 -0600)
committerJohn Runyon <redacted>
Mon, 2 Oct 2023 23:36:11 +0000 (17:36 -0600)
modules/urls.py

index df6d8eaa1bc1a9b8ebe8850aa665990a7c2f5fb5..fabd7abb1cef876590d26ff74eab4258ba7ac7dd 100644 (file)
@@ -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),