This commit is contained in:
parent
1dcd939bc1
commit
2cc25e8cf1
@ -18,7 +18,8 @@ steps:
|
|||||||
image: debian
|
image: debian
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends calibre curl
|
- apt-get install -y --no-install-recommends calibre
|
||||||
|
- apt-get install -y curl
|
||||||
- bash -x convert.sh
|
- bash -x convert.sh
|
||||||
- bash -x upload.sh
|
- bash -x upload.sh
|
||||||
environment:
|
environment:
|
||||||
|
@ -42,11 +42,13 @@ for volume_tag in tags:
|
|||||||
|
|
||||||
for pagination in text.find_all('a'):
|
for pagination in text.find_all('a'):
|
||||||
pagination.decompose()
|
pagination.decompose()
|
||||||
for image in text.find_all('img'):
|
|
||||||
image.decompose()
|
|
||||||
for cut in text.find_all('hr'):
|
for cut in text.find_all('hr'):
|
||||||
cut.decompose()
|
cut.decompose()
|
||||||
|
|
||||||
|
if volume >= 7:
|
||||||
|
for image in text.find_all('img'):
|
||||||
|
image.decompose()
|
||||||
|
|
||||||
print(title)
|
print(title)
|
||||||
|
|
||||||
chapter = create_chapter_from_string(str(text), title)
|
chapter = create_chapter_from_string(str(text), title)
|
||||||
|
Reference in New Issue
Block a user