From 541a61d34464957ee1b9cf93fd2c043613492e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 4 Jun 2022 12:19:16 +0200 Subject: [PATCH] [subscribestar] fix 'date' metadata (#2642) Handle instances where the actual datetime information is preceded by "Updated on " --- gallery_dl/extractor/subscribestar.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gallery_dl/extractor/subscribestar.py b/gallery_dl/extractor/subscribestar.py index b57013a7..d2e298c1 100644 --- a/gallery_dl/extractor/subscribestar.py +++ b/gallery_dl/extractor/subscribestar.py @@ -118,8 +118,8 @@ class SubscribestarExtractor(Extractor): "author_id" : text.parse_int(extr('data-user-id="', '"')), "author_name": text.unescape(extr('href="/', '"')), "author_nick": text.unescape(extr('>', '<')), - "date" : self._parse_datetime(text.remove_html(extr( - 'class="post-date">', '', '")[2]), "content" : (extr( '
")[2]), @@ -152,8 +152,6 @@ class SubscribestarUserExtractor(SubscribestarExtractor): "type" : "re:image|video|attachment", "url" : str, "?pinned": bool, - "?height": int, - "?width" : int, }, }), ("https://www.subscribestar.com/subscribestar", { @@ -162,8 +160,8 @@ class SubscribestarUserExtractor(SubscribestarExtractor): "range": "1", }), ("https://subscribestar.adult/kanashiipanda", { - "range": "21-40", - "count": 20, + "range": "1-10", + "count": 10, }), )