1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[newgrounds] fix tags metadata extraction

This commit is contained in:
Mike Fährmann 2020-01-01 16:06:16 +01:00
parent 82f7f4172a
commit 5ad92fc196
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -98,7 +98,7 @@ class NewgroundsExtractor(Extractor):
'id="faves_load">', '<').replace(",", ""))
data["score"] = text.parse_float(extr('id="score_number">', '<'))
data["tags"] = text.split_html(extr(
'<dd class="tags momag">', '</dd>'))
'<dd class="tags">', '</dd>'))
data["artist"] = [
text.extract(user, '//', '.')[0]
for user in text.extract_iter(page, '<div class="item-user">', '>')