web-novel-scraper 1.0.2__py3-none-any.whl → 1.0.3__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.
@@ -13,7 +13,6 @@ FORCE_FLARESOLVER = os.getenv('FORCE_FLARESOLVER', '0') == '1'
13
13
 
14
14
  logger = logger_manager.create_logger('GET HTML CONTENT')
15
15
 
16
-
17
16
  def get_request(url: str,
18
17
  timeout: int = 20,
19
18
  retries: int = 3,
@@ -1 +1 @@
1
- __version__ = "1.0.2"
1
+ __version__ = "1.0.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: web-novel-scraper
3
- Version: 1.0.2
3
+ Version: 1.0.3
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
@@ -138,7 +138,7 @@ In the example above:
138
138
  The following commands are available in the Web Novel Scraping CLI:
139
139
 
140
140
  ```bash
141
- Usage: main.py [OPTIONS] COMMAND [ARGS]...
141
+ Usage: web-novel-scraper [OPTIONS] COMMAND [ARGS]...
142
142
 
143
143
  CLI Tool for web novel scraping.
144
144
 
@@ -175,32 +175,32 @@ Here are some basic examples:
175
175
 
176
176
  ### Example 1: Creating a Novel using a main URL
177
177
  ```bash
178
- python src/main.py create-novel --title 'Novel 1' --author 'ImagineBrkr' --toc-main-url 'https://page.me/Novel-1/toc' --cover 'cover.jpg'
178
+ web-novel-scraper create-novel --title 'Novel 1' --author 'ImagineBrkr' --toc-main-url 'https://page.me/Novel-1/toc' --cover 'cover.jpg'
179
179
  ```
180
180
  Some pages have too much JavaScript, so you can just copy the HTML manually to a file and create the novel from it:
181
181
  ```bash
182
- python src/main.py create-novel --title 'Novel 1' --author 'ImagineBrkr' --toc-html 'toc.html' --host 'page.me' --cover 'cover.jpg'
182
+ web-novel-scraper create-novel --title 'Novel 1' --author 'ImagineBrkr' --toc-html 'toc.html' --host 'page.me' --cover 'cover.jpg'
183
183
  ```
184
184
  If there is more than one page for the TOC, you can add them:
185
185
  ```bash
186
- python src/main.py add-toc-html --title 'Novel 1' --toc-html 'toc2.html'
186
+ web-novel-scraper add-toc-html --title 'Novel 1' --toc-html 'toc2.html'
187
187
  ```
188
188
  You can create the chapters from this TOC, or synchronize if they were already created but there are new chapters.
189
189
  ```bash
190
- python src/main.py sync-toc --title 'Novel 1'
190
+ web-novel-scraper sync-toc --title 'Novel 1'
191
191
  ```
192
192
  The default directory will be %APPDATA%/ImagineBrkr/web-novel-scraper for Windows, all the files will be saved there, but you can change it.
193
193
 
194
194
  ### Example 2: Requesting files
195
195
  We can now download all the chapters
196
196
  ```bash
197
- python src/main.py request-all-chapters --title 'Novel 1'
197
+ web-novel-scraper request-all-chapters --title 'Novel 1'
198
198
  ```
199
199
 
200
200
  ### Example 3: Saving to EPUB
201
201
  With
202
202
  ```bash
203
- python src/main.py save-novel-to-epub --title 'Novel 1'
203
+ web-novel-scraper save-novel-to-epub --title 'Novel 1'
204
204
  ```
205
205
 
206
206
  For more detailed usage and options, use --help for each command.
@@ -4,11 +4,11 @@ web_novel_scraper/decode.py,sha256=dqGv_8nFSKwO6GBj3jhaO9SQeLHeBjDzoV1C_YcN40k,5
4
4
  web_novel_scraper/file_manager.py,sha256=PJu8kKeng49DTNQBbbMekFtIcTZOkeCEjFYqYJarv9M,11363
5
5
  web_novel_scraper/logger_manager.py,sha256=A-a4bhYI4YCEuSJd9E3WH_kanJ7YCASMwheBzObZK4Q,1972
6
6
  web_novel_scraper/novel_scraper.py,sha256=eiic2i3AdK9lcFK9aNb4d8ptnKv9ua1B_9kcUY8_liM,28660
7
- web_novel_scraper/request_manager.py,sha256=0M_ekBuDCMRGZIWxDbZ_yAwPOxJr2mBpP-Yj8zsE13o,6449
7
+ web_novel_scraper/request_manager.py,sha256=VtGpRi5b_Dp3h8viCdt7yMCb9M21Lk7oLC_Q_0EkXH8,6448
8
8
  web_novel_scraper/utils.py,sha256=vq5ROuPv04k3MhbksTe0ni_yP0i_a7T_33mkBB1DUbQ,2076
9
- web_novel_scraper/version.py,sha256=Y3LSfRioSl2xch70pq_ULlvyECXyEtN3krVaWeGyaxk,22
9
+ web_novel_scraper/version.py,sha256=2plzdEEb24FLjE2I2XyBBcJEPYWHccNL4SgtLC_6erg,22
10
10
  web_novel_scraper/decode_guide/decode_guide.json,sha256=Q4v-OZh_1MwdrFxDDVvj8T3evW3zzbSapRaGwFCdnX8,5425
11
- web_novel_scraper-1.0.2.dist-info/METADATA,sha256=OBhkSUWS02JIFh4qbsRdS_s_UL15_gAOWAqsQu-Day4,8419
12
- web_novel_scraper-1.0.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
- web_novel_scraper-1.0.2.dist-info/entry_points.txt,sha256=bqRvStfvSprSJc2EJXgKIbggWOXSePHFfVIZWy_plDQ,69
14
- web_novel_scraper-1.0.2.dist-info/RECORD,,
11
+ web_novel_scraper-1.0.3.dist-info/METADATA,sha256=VKG91J-QhL_NBjSuS29Em5_ZcFlw9oKf50-7WcJ97Lw,8423
12
+ web_novel_scraper-1.0.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
+ web_novel_scraper-1.0.3.dist-info/entry_points.txt,sha256=bqRvStfvSprSJc2EJXgKIbggWOXSePHFfVIZWy_plDQ,69
14
+ web_novel_scraper-1.0.3.dist-info/RECORD,,