1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2025-02-01 03:51:42 +01:00

[erome] add "count" for albums

This commit is contained in:
jsouthgb 2023-11-15 07:08:52 -05:00
parent 807ddde7e1
commit c6ad9bcd9b

View File

@ -44,11 +44,13 @@ class EromeExtractor(Extractor):
pos = page.index('<div class="user-profile', pos)
user, pos = text.extract(
page, 'href="https://www.erome.com/', '"', pos)
count = text.extr(page, 'fa-camera"></i>', '</span>')
data = {
"album_id" : album_id,
"title" : text.unescape(title),
"user" : text.unquote(user),
"_http_headers": {"Referer": url},
"count" : count,
}
yield Message.Directory, data