From 30b9db43a072018dc4f2b9dce07b3aed5bc7aba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 9 Apr 2015 17:28:14 +0200 Subject: [PATCH] [8chan] combine patterns --- gallery_dl/extractor/8chan.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gallery_dl/extractor/8chan.py b/gallery_dl/extractor/8chan.py index 0eb55044..d56e5e6f 100644 --- a/gallery_dl/extractor/8chan.py +++ b/gallery_dl/extractor/8chan.py @@ -18,8 +18,7 @@ info = { "directory": ["{category}", "{board}-{thread-id}"], "filename": "{timestamp}-{name}", "pattern": [ - r"(?:https?://)?(?:www\.)?8chan\.co/([^/]+/res/\d+).*", - r"(?:https?://)?(?:www\.)?8ch\.net/([^/]+/res/\d+).*", + r"(?:https?://)?(?:www\.)?(?:8chan\.co|8ch\.net)/([^/]+/res/\d+).*", ], }