mirror of
https://github.com/mikf/gallery-dl.git
synced 2025-02-01 12:01:41 +01:00
[sankaku] add enumeration index for books (#1388)
This commit is contained in:
parent
139fb84108
commit
2dffd231b7
@ -123,6 +123,8 @@ class SankakuPoolExtractor(SankakuExtractor):
|
||||
def metadata(self):
|
||||
pool = SankakuAPI(self).pools(self.pool_id)
|
||||
self._posts = pool.pop("posts")
|
||||
for num, post in enumerate(self._posts, 1):
|
||||
post["num"] = num
|
||||
return {"pool": pool}
|
||||
|
||||
def posts(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user