[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

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">', '>')