This commit is contained in:
parent
f987bf4650
commit
aa0a420b76
@ -7,7 +7,7 @@ import requests
|
|||||||
|
|
||||||
@executor.executor
|
@executor.executor
|
||||||
def process(metadata, output_dir):
|
def process(metadata, output_dir):
|
||||||
book = pypub.Epub("Gravesong", *metadata)
|
book = pypub.Epub("Gravesong", **metadata)
|
||||||
|
|
||||||
response = requests.post(
|
response = requests.post(
|
||||||
"https://wanderinginn.com/wp-pass.php",
|
"https://wanderinginn.com/wp-pass.php",
|
||||||
|
2
twi.py
2
twi.py
@ -6,7 +6,7 @@ import requests
|
|||||||
|
|
||||||
|
|
||||||
def fetchVolume(title, metadata, volume_title, output_dir, links):
|
def fetchVolume(title, metadata, volume_title, output_dir, links):
|
||||||
book = pypub.Epub(f"{title} - {volume_title}", *metadata)
|
book = pypub.Epub(f"{title} - {volume_title}", **metadata)
|
||||||
|
|
||||||
for link in links:
|
for link in links:
|
||||||
chapter_response = requests.get(link["href"])
|
chapter_response = requests.get(link["href"])
|
||||||
|
Reference in New Issue
Block a user