mirror of
https://github.com/kemayo/leech
synced 2025-12-07 17:05:25 +01:00
Add cover_url attribute
This commit is contained in:
parent
8273ca1a77
commit
fe76b5427b
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ class Section:
|
||||||
title = attr.ib()
|
title = attr.ib()
|
||||||
author = attr.ib()
|
author = attr.ib()
|
||||||
url = attr.ib()
|
url = attr.ib()
|
||||||
|
cover_url = attr.ib(default='')
|
||||||
id = attr.ib(default=attr.Factory(_default_uuid_string), convert=str)
|
id = attr.ib(default=attr.Factory(_default_uuid_string), convert=str)
|
||||||
contents = attr.ib(default=attr.Factory(list))
|
contents = attr.ib(default=attr.Factory(list))
|
||||||
footnotes = attr.ib(default=attr.Factory(list))
|
footnotes = attr.ib(default=attr.Factory(list))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue