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:
parent
807ddde7e1
commit
c6ad9bcd9b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user