summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/plurk.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-10-03 18:31:58 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-10-03 18:31:58 -0400
commitb8758ecd073910ce3220b2e68399147b425c37b8 (patch)
treed6aee20213508c8f425cbacb3d714367eca904c5 /gallery_dl/extractor/plurk.py
parente2f67519f8c1750a71aab3dc56b8345fff21bac5 (diff)
New upstream version 1.26.0.upstream/1.26.0
Diffstat (limited to 'gallery_dl/extractor/plurk.py')
-rw-r--r--gallery_dl/extractor/plurk.py16
1 files changed, 2 insertions, 14 deletions
diff --git a/gallery_dl/extractor/plurk.py b/gallery_dl/extractor/plurk.py
index 4135259..5a3bf5a 100644
--- a/gallery_dl/extractor/plurk.py
+++ b/gallery_dl/extractor/plurk.py
@@ -71,10 +71,7 @@ class PlurkTimelineExtractor(PlurkExtractor):
"""Extractor for URLs from all posts in a Plurk timeline"""
subcategory = "timeline"
pattern = r"(?:https?://)?(?:www\.)?plurk\.com/(?!p/)(\w+)/?(?:$|[?#])"
- test = ("https://www.plurk.com/plurkapi", {
- "pattern": r"https?://.+",
- "count": ">= 23"
- })
+ example = "https://www.plurk.com/USER"
def __init__(self, match):
PlurkExtractor.__init__(self, match)
@@ -105,16 +102,7 @@ class PlurkPostExtractor(PlurkExtractor):
"""Extractor for URLs from a Plurk post"""
subcategory = "post"
pattern = r"(?:https?://)?(?:www\.)?plurk\.com/p/(\w+)"
- test = (
- ("https://www.plurk.com/p/i701j1", {
- "url": "2115f208564591b8748525c2807a84596aaaaa5f",
- "count": 3,
- }),
- ("https://www.plurk.com/p/i701j1", {
- "options": (("comments", True),),
- "count": ">= 210",
- }),
- )
+ example = "https://www.plurk.com/p/12345"
def __init__(self, match):
PlurkExtractor.__init__(self, match)