1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-21 18:22:30 +01:00

[8chan] combine patterns

This commit is contained in:
Mike Fährmann 2015-04-09 17:28:14 +02:00
parent 3872ccb435
commit 30b9db43a0

View File

@ -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+).*",
],
}