web-novel-scraper 1.0.2__tar.gz → 1.0.3__tar.gz

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.
Files changed (37) hide show
  1. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/PKG-INFO +8 -8
  2. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/README.md +7 -7
  3. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/web_novel_scraper/request_manager.py +0 -1
  4. web_novel_scraper-1.0.3/web_novel_scraper/version.py +1 -0
  5. web_novel_scraper-1.0.2/web_novel_scraper/version.py +0 -1
  6. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/.github/scripts/update_version.py +0 -0
  7. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/.github/workflows/build.yaml +0 -0
  8. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/.github/workflows/publish.yaml +0 -0
  9. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/.github/workflows/test.yaml +0 -0
  10. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/.gitignore +0 -0
  11. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/.readthedocs.yaml +0 -0
  12. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/Makefile +0 -0
  13. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/make.bat +0 -0
  14. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/requirements.txt +0 -0
  15. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/README.rst +0 -0
  16. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/_static/README.md +0 -0
  17. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/commands/chapters_commands.rst +0 -0
  18. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/commands/creation_commands.rst +0 -0
  19. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/commands/index.rst +0 -0
  20. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/commands/output_commands.rst +0 -0
  21. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/commands/toc_commands.rst +0 -0
  22. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/commands/utils_commands.rst +0 -0
  23. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/concepts.rst +0 -0
  24. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/conf.py +0 -0
  25. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/config_options.rst +0 -0
  26. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/index.rst +0 -0
  27. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/docs/source/tutorial.rst +0 -0
  28. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/pyproject.toml +0 -0
  29. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/requirements.txt +0 -0
  30. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/web_novel_scraper/__init__.py +0 -0
  31. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/web_novel_scraper/__main__.py +0 -0
  32. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/web_novel_scraper/decode.py +0 -0
  33. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/web_novel_scraper/decode_guide/decode_guide.json +0 -0
  34. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/web_novel_scraper/file_manager.py +0 -0
  35. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/web_novel_scraper/logger_manager.py +0 -0
  36. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/web_novel_scraper/novel_scraper.py +0 -0
  37. {web_novel_scraper-1.0.2 → web_novel_scraper-1.0.3}/web_novel_scraper/utils.py +0 -0
@@ -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.
@@ -119,7 +119,7 @@ In the example above:
119
119
  The following commands are available in the Web Novel Scraping CLI:
120
120
 
121
121
  ```bash
122
- Usage: main.py [OPTIONS] COMMAND [ARGS]...
122
+ Usage: web-novel-scraper [OPTIONS] COMMAND [ARGS]...
123
123
 
124
124
  CLI Tool for web novel scraping.
125
125
 
@@ -156,32 +156,32 @@ Here are some basic examples:
156
156
 
157
157
  ### Example 1: Creating a Novel using a main URL
158
158
  ```bash
159
- python src/main.py create-novel --title 'Novel 1' --author 'ImagineBrkr' --toc-main-url 'https://page.me/Novel-1/toc' --cover 'cover.jpg'
159
+ web-novel-scraper create-novel --title 'Novel 1' --author 'ImagineBrkr' --toc-main-url 'https://page.me/Novel-1/toc' --cover 'cover.jpg'
160
160
  ```
161
161
  Some pages have too much JavaScript, so you can just copy the HTML manually to a file and create the novel from it:
162
162
  ```bash
163
- python src/main.py create-novel --title 'Novel 1' --author 'ImagineBrkr' --toc-html 'toc.html' --host 'page.me' --cover 'cover.jpg'
163
+ web-novel-scraper create-novel --title 'Novel 1' --author 'ImagineBrkr' --toc-html 'toc.html' --host 'page.me' --cover 'cover.jpg'
164
164
  ```
165
165
  If there is more than one page for the TOC, you can add them:
166
166
  ```bash
167
- python src/main.py add-toc-html --title 'Novel 1' --toc-html 'toc2.html'
167
+ web-novel-scraper add-toc-html --title 'Novel 1' --toc-html 'toc2.html'
168
168
  ```
169
169
  You can create the chapters from this TOC, or synchronize if they were already created but there are new chapters.
170
170
  ```bash
171
- python src/main.py sync-toc --title 'Novel 1'
171
+ web-novel-scraper sync-toc --title 'Novel 1'
172
172
  ```
173
173
  The default directory will be %APPDATA%/ImagineBrkr/web-novel-scraper for Windows, all the files will be saved there, but you can change it.
174
174
 
175
175
  ### Example 2: Requesting files
176
176
  We can now download all the chapters
177
177
  ```bash
178
- python src/main.py request-all-chapters --title 'Novel 1'
178
+ web-novel-scraper request-all-chapters --title 'Novel 1'
179
179
  ```
180
180
 
181
181
  ### Example 3: Saving to EPUB
182
182
  With
183
183
  ```bash
184
- python src/main.py save-novel-to-epub --title 'Novel 1'
184
+ web-novel-scraper save-novel-to-epub --title 'Novel 1'
185
185
  ```
186
186
 
187
187
  For more detailed usage and options, use --help for each command.
@@ -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,
@@ -0,0 +1 @@
1
+ __version__ = "1.0.3"
@@ -1 +0,0 @@
1
- __version__ = "1.0.2"