This commit is contained in:
parent
2e517cefbb
commit
1f0112a9a1
@ -15,7 +15,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- pip install poetry
|
- pip install poetry
|
||||||
- poetry install --without dev
|
- poetry install --without dev
|
||||||
- poetry run python books_fr.py
|
- poetry run python books.py
|
||||||
- bash -x upload.sh
|
- bash -x upload.sh
|
||||||
environment:
|
environment:
|
||||||
USERNAME:
|
USERNAME:
|
||||||
|
8
books.py
8
books.py
@ -142,3 +142,11 @@ def process_book(
|
|||||||
urls.append(link.attrs["href"])
|
urls.append(link.attrs["href"])
|
||||||
|
|
||||||
process_volume(epub=epub, urls=urls)
|
process_volume(epub=epub, urls=urls)
|
||||||
|
|
||||||
|
|
||||||
|
process_book(
|
||||||
|
url="https://aubergevagabonde.wordpress.com/sommaire/",
|
||||||
|
creator="Pirateaba",
|
||||||
|
publisher="ElliVia",
|
||||||
|
language="fr",
|
||||||
|
)
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
from books import process_book
|
|
||||||
|
|
||||||
process_book(
|
|
||||||
url="https://wanderinginn.com/table-of-contents/",
|
|
||||||
creator="Pirateaba",
|
|
||||||
publisher="Xefir",
|
|
||||||
language="en",
|
|
||||||
strip_first=True,
|
|
||||||
)
|
|
@ -1,8 +0,0 @@
|
|||||||
from books import process_book
|
|
||||||
|
|
||||||
process_book(
|
|
||||||
url="https://aubergevagabonde.wordpress.com/sommaire/",
|
|
||||||
creator="Pirateaba",
|
|
||||||
publisher="ElliVia",
|
|
||||||
language="fr",
|
|
||||||
)
|
|
Reference in New Issue
Block a user