[subscribestar] fix 'post' extractor (#6582)
https://github.com/mikf/gallery-dl/issues/6582#issuecomment-2675939669
This commit is contained in:
@@ -206,10 +206,11 @@ class SubscribestarPostExtractor(SubscribestarExtractor):
|
||||
extr = text.extract_from(html)
|
||||
return {
|
||||
"post_id" : text.parse_int(extr('data-id="', '"')),
|
||||
"author_name": text.unescape(extr('href="/', '"')),
|
||||
"date" : self._parse_datetime(extr(
|
||||
'<div class="section-title_date">', '<')),
|
||||
"content" : extr('<body>', '</body>').strip(),
|
||||
"author_name": text.unescape(extr(
|
||||
'class="star_link" href="/', '"')),
|
||||
"author_id" : text.parse_int(extr('data-user-id="', '"')),
|
||||
"author_nick": text.unescape(extr('alt="', '"')),
|
||||
"date" : self._parse_datetime(extr(
|
||||
'<span class="star_link-types">', '<')),
|
||||
"content" : extr('<body>', '</body>').strip(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user