summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/35photo.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/35photo.py')
-rw-r--r--gallery_dl/extractor/35photo.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/gallery_dl/extractor/35photo.py b/gallery_dl/extractor/35photo.py
index edb9d46..27634de 100644
--- a/gallery_dl/extractor/35photo.py
+++ b/gallery_dl/extractor/35photo.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Copyright 2019-2020 Mike Fährmann
+# Copyright 2019-2021 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -104,7 +104,8 @@ class _35photoUserExtractor(_35photoExtractor):
r"/(?!photo_|genre_|tags/|rating/)([^/?#]+)")
test = (
("https://35photo.pro/liya", {
- "pattern": r"https://m\d+.35photo.pro/photos_(main|series)/.*.jpg",
+ "pattern": r"https://([a-z][0-9]\.)?35photo\.pro"
+ r"/photos_(main|series)/.*\.jpg",
"count": 9,
}),
("https://35photo.pro/suhoveev", {
@@ -214,7 +215,7 @@ class _35photoImageExtractor(_35photoExtractor):
test = ("https://35photo.pro/photo_753340/", {
"count": 1,
"keyword": {
- "url" : r"re:https://m\d+.35photo.pro/photos_main/.*.jpg",
+ "url" : r"re:https://35photo\.pro/photos_main/.*\.jpg",
"id" : 753340,
"title" : "Winter walk",
"description": str,