web-novel-scraper 2.0.0__py3-none-any.whl → 2.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- web_novel_scraper/__main__.py +2 -4
- web_novel_scraper/novel_scraper.py +2 -2
- web_novel_scraper/version.py +1 -1
- {web_novel_scraper-2.0.0.dist-info → web_novel_scraper-2.0.1.dist-info}/METADATA +1 -1
- {web_novel_scraper-2.0.0.dist-info → web_novel_scraper-2.0.1.dist-info}/RECORD +7 -7
- {web_novel_scraper-2.0.0.dist-info → web_novel_scraper-2.0.1.dist-info}/WHEEL +0 -0
- {web_novel_scraper-2.0.0.dist-info → web_novel_scraper-2.0.1.dist-info}/entry_points.txt +0 -0
web_novel_scraper/__main__.py
CHANGED
@@ -237,10 +237,8 @@ def show_tags(ctx, title):
|
|
237
237
|
def set_cover_image(ctx, title, cover_image):
|
238
238
|
"""Set the cover image for a novel."""
|
239
239
|
novel = obtain_novel(title, ctx.obj)
|
240
|
-
|
241
|
-
|
242
|
-
else:
|
243
|
-
click.echo('New cover image set successfully.')
|
240
|
+
novel.set_cover_image(cover_image)
|
241
|
+
click.echo(f'Cover image saved successfully.')
|
244
242
|
|
245
243
|
@cli.command()
|
246
244
|
@click.pass_context
|
@@ -225,8 +225,8 @@ class Novel:
|
|
225
225
|
logger.warning(f'Tag "{tag}" doesn\'t exist on novel {self.title}')
|
226
226
|
return False
|
227
227
|
|
228
|
-
def set_cover_image(self, cover_image_path: str) ->
|
229
|
-
|
228
|
+
def set_cover_image(self, cover_image_path: str) -> None:
|
229
|
+
self.file_manager.save_novel_cover(cover_image_path)
|
230
230
|
|
231
231
|
def set_host(self, host: str) -> None:
|
232
232
|
self.host = host
|
web_novel_scraper/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "2.0.
|
1
|
+
__version__ = "2.0.1"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: web-novel-scraper
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.1
|
4
4
|
Summary: Python tool that allows you to scrape web novels from various sources and save them to more readable formats like EPUB.
|
5
5
|
Project-URL: Homepage, https://github.com/ImagineBrkr/web-novel-scraper
|
6
6
|
Project-URL: Documentation, https://web-novel-scraper.readthedocs.io
|
@@ -1,19 +1,19 @@
|
|
1
1
|
web_novel_scraper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
web_novel_scraper/__main__.py,sha256=
|
2
|
+
web_novel_scraper/__main__.py,sha256=2SnDA-UKx30dO2YiQoNDF8LKC2ySYYoqkUCV6dNnGYM,18181
|
3
3
|
web_novel_scraper/config_manager.py,sha256=duwKc6jyLj8NmST5F98qGgpW_o6D6GAenKWsYQ80gcU,3121
|
4
4
|
web_novel_scraper/decode.py,sha256=VlAW3bdWCSC2BloTIKJ74KqlBhzUca9vpvYZVd2dziI,10796
|
5
5
|
web_novel_scraper/file_manager.py,sha256=zmkeJWh8PoVcjnA38qZRSYH06kh0i0txFE-1bfa5vKg,10598
|
6
6
|
web_novel_scraper/logger_manager.py,sha256=A-a4bhYI4YCEuSJd9E3WH_kanJ7YCASMwheBzObZK4Q,1972
|
7
|
-
web_novel_scraper/novel_scraper.py,sha256=
|
7
|
+
web_novel_scraper/novel_scraper.py,sha256=yos0rQGe6UeHVmfmylkB5FM7gE6NCjUCl-80QZTf5-o,30525
|
8
8
|
web_novel_scraper/request_manager.py,sha256=BVWMtUO3HRs44phU2ODkPUjy7tJiIBX_R0rxGGLaJzw,6617
|
9
9
|
web_novel_scraper/utils.py,sha256=1V8UwYhpp_27zqPnBDbl7fohu2Z7Sy_4Fq5J2_JAEvU,6405
|
10
|
-
web_novel_scraper/version.py,sha256=
|
10
|
+
web_novel_scraper/version.py,sha256=wAxkK8w13vqoF47A8iqWdSlIgRRXmZiQ0R4wePZfzhs,22
|
11
11
|
web_novel_scraper/custom_processor/__init__.py,sha256=iy4tjivMjshSzc52--aa-jK53qu9VwdK-6p4vuQc6oc,103
|
12
12
|
web_novel_scraper/custom_processor/custom_processor.py,sha256=h1MPl6JU_C2Mc7SqK70LsNQHpDzSL6QyraMIQ87HcMM,870
|
13
13
|
web_novel_scraper/custom_processor/sites/genesis.py,sha256=xV0eybI0ieHR5gn4yWXI74l99Eayhqs16PIYs-BrPjE,1843
|
14
14
|
web_novel_scraper/custom_processor/sites/royalroad.py,sha256=_2PsFC_w3RJCUkAPoRn-7R2jlzl3XsG4WYtRaQkp6lg,787
|
15
15
|
web_novel_scraper/decode_guide/decode_guide.json,sha256=kbPjEYZCN_jEpV5CL8v22yZ_4gPkO56XwblkSGDMEeM,9683
|
16
|
-
web_novel_scraper-2.0.
|
17
|
-
web_novel_scraper-2.0.
|
18
|
-
web_novel_scraper-2.0.
|
19
|
-
web_novel_scraper-2.0.
|
16
|
+
web_novel_scraper-2.0.1.dist-info/METADATA,sha256=pIlROGLX4HYbe8t7Qk9Jhe0eEVZ7fpeLI0IPeSxQw3A,8423
|
17
|
+
web_novel_scraper-2.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
18
|
+
web_novel_scraper-2.0.1.dist-info/entry_points.txt,sha256=bqRvStfvSprSJc2EJXgKIbggWOXSePHFfVIZWy_plDQ,69
|
19
|
+
web_novel_scraper-2.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|