-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
22 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,6 @@ dist | |
*.egg-info | ||
|
||
# virtualenv | ||
venv_4chan_ripper | ||
venv_four_chan_ripper | ||
|
||
scratch.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,28 @@ | ||
# 4chan-ripper | ||
[![Python 3.9+](https://upload.wikimedia.org/wikipedia/commons/4/4f/Blue_Python_3.9%2B_Shield_Badge.svg)](https://www.python.org) | ||
# four-chan-ripper | ||
[![Python 3.11+](https://upload.wikimedia.org/wikipedia/commons/6/62/Blue_Python_3.11%2B_Shield_Badge.svg)](https://www.python.org) | ||
[![License: GPL v3](https://upload.wikimedia.org/wikipedia/commons/8/86/GPL_v3_Blue_Badge.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html) | ||
|
||
Tool for ripping and saving the media files in 4chan threads. | ||
|
||
## Installation | ||
```bash | ||
pip install four-chan-ripper | ||
``` | ||
|
||
## Usage | ||
``` | ||
usage: 4cr [-h] [-b board_id] [-i] [-s] [--out output_directory] [urls ...] | ||
usage: __main__.py [-h] [-b board_id] [-i] [-s] [-o output_directory] [urls ...] | ||
4cr CLI | ||
4chan ripper CLI | ||
positional arguments: | ||
urls the urls to process | ||
urls the urls to process | ||
options: | ||
-h, --help show this help message and exit | ||
-b board_id The short id of the board to target. Ignored if the program was not started in interactive mode. Default is hr | ||
-i Causes the archive file to get ignored. Only applicable in interactive mode. | ||
-s Treat the input urls as a photoset to rip | ||
--out output_directory | ||
The output directory. Default is ~/Public | ||
``` | ||
-h, --help show this help message and exit | ||
-b board_id The short id of the board to target. Ignored if the program was not started in interactive mode. Default is hr | ||
-i Causes the archive file to get ignored. Only applicable in interactive mode. | ||
-s Treat the input urls as a photoset to rip | ||
-o output_directory The output directory. Defaults to the current working directory. | ||
``` | ||
Also installs a CLI alias called `4cr` which can be used to invoke the program directly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters