summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/artstation.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-07-16 00:39:25 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2022-07-16 00:39:25 -0400
commitae2a0f5622beaa6f402526f8a7b939419283a090 (patch)
treedf1ee84f90167211ae4817606fe6e7380abb67b1 /gallery_dl/extractor/artstation.py
parentce35450b5308adab049c5bd99095986d4c607027 (diff)
New upstream version 1.22.4.upstream/1.22.4
Diffstat (limited to 'gallery_dl/extractor/artstation.py')
-rw-r--r--gallery_dl/extractor/artstation.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/gallery_dl/extractor/artstation.py b/gallery_dl/extractor/artstation.py
index e686c70..19b9d97 100644
--- a/gallery_dl/extractor/artstation.py
+++ b/gallery_dl/extractor/artstation.py
@@ -147,14 +147,15 @@ class ArtstationUserExtractor(ArtstationExtractor):
r"/(?!artwork|projects|search)([^/?#]+)(?:/albums/all)?"
r"|((?!www)\w+)\.artstation\.com(?:/projects)?)/?$")
test = (
- ("https://www.artstation.com/gaerikim/", {
+ ("https://www.artstation.com/sungchoi/", {
"pattern": r"https://\w+\.artstation\.com/p/assets/images"
r"/images/\d+/\d+/\d+/(4k|large|medium|small)/[^/]+",
- "count": ">= 6",
+ "range": "1-10",
+ "count": ">= 10",
}),
- ("https://www.artstation.com/gaerikim/albums/all/"),
- ("https://gaerikim.artstation.com/"),
- ("https://gaerikim.artstation.com/projects/"),
+ ("https://www.artstation.com/sungchoi/albums/all/"),
+ ("https://sungchoi.artstation.com/"),
+ ("https://sungchoi.artstation.com/projects/"),
)
def projects(self):
@@ -400,7 +401,7 @@ class ArtstationFollowingExtractor(ArtstationExtractor):
subcategory = "following"
pattern = (r"(?:https?://)?(?:www\.)?artstation\.com"
r"/(?!artwork|projects|search)([^/?#]+)/following")
- test = ("https://www.artstation.com/gaerikim/following", {
+ test = ("https://www.artstation.com/sungchoi/following", {
"pattern": ArtstationUserExtractor.pattern,
"count": ">= 50",
})