No project description provided
Project description
Table of Contents
Guides & Installation
[!IMPORTANT]
Make sure you have
python3at least version 3.7 installed and executeable in your system's PATH.Clone this repository
git clone -b master git@github.com:krsite-dl/krsite-dl.gitor download the latest release from releasesRun
pip3 install -r requirements.txtto install dependencies
[!NOTE] To update the script, you need to pull this repository again. You can also run
git pullif you have git installed. Make sure to run anotherpip install -r requirements.txtto install any new dependencies.
Usage
User can add krsite-dl.conf file to set default download path. You can put the file in the following locations for automatic detection. This will get overridden by config path specified by -c option.
Windows
%APPDATA%\krsite-dl\krsite-dl.conf
%USERPROFILE%\krsite-dl\krsite-dl.conf
%USERPROFILE%\krsite-dl.conf
Linux
/etc/krsite-dl.conf
~/.config/krsite-dl/krsite-dl.conf
~/krsite-dl.conf
[!NOTE]
The
krsite-dl.conffile should contain the following:[Settings] base_dir = <path>
Basic Usage
python3 -m krsite_dl [-h] [-c CONFIG] [-a A] [-d DESTINATION] [-s] [-v] [--no-windows-filenames] [url ...]
python3 -m krsite_dl https://example.com/1/
python3 -m krsite_dl https://example.com/1/ https//example.com/2/
Download by specifying the download path
Alternatively, you can specify the download path by default by using krsite-dl.config file.
python3 -m krsite_dl https://example.com -d ~/Pictures/
Download by specifying the config path
python3 -m krsite_dl -c ~/krsite-dl.conf https://example.com
Downloading from multiple sites in a text file
python3 -m krsite_dl -a ~/Pictures/list.txt -d ~/Pictures
Selecting an image to download
This will prompt you a list of images to download
python3 -m krsite_dl https://example.com -s
Options
positional arguments:
url valid news/blog url
options:
-h, --help show this help message and exit
utility:
-c CONFIG, --config CONFIG
File path to your config file
-a A Text file containing site urls
-d DESTINATION, --destination DESTINATION
The destination path for the downloaded file.
-s, --select Select which images to download from each url.
-v, --verbose Increase output verbosity
misc:
--no-windows-filenames
(default=False) krsite-dl will not sanitize filenames
Issues
[!NOTE] Please make an issue if you encounter any problems or just want to get more sites supported.
Site Name: www.example.com
Site URL (preferably the post page): www.example.com/post/1234
Disclaimer
This program is solely intended for the purpose of easily obtaining images from Korean websites where the images are publicly available and not behind any paywall or login. By using this program, you agree that you are responsible for your own actions and your action afterwards. The author and maintainer of this program is not responsible for any loss or damage caused by the use of this program.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file krsite_dl-0.1.0.tar.gz.
File metadata
- Download URL: krsite_dl-0.1.0.tar.gz
- Upload date:
- Size: 50.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5607a34b539b86f7d972f749921c149e369cd9ab50be9085a0765db7b1da371f
|
|
| MD5 |
799a4764e2df158aebdf0353ec6caa54
|
|
| BLAKE2b-256 |
7bbf4e582f235203664376bb00301a3f9a28b55943436acd34a58688a80fe7d4
|
Provenance
The following attestation bundles were made for krsite_dl-0.1.0.tar.gz:
Publisher:
release.yml on krsite-dl/krsite-dl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
krsite_dl-0.1.0.tar.gz -
Subject digest:
5607a34b539b86f7d972f749921c149e369cd9ab50be9085a0765db7b1da371f - Sigstore transparency entry: 350741702
- Sigstore integration time:
-
Permalink:
krsite-dl/krsite-dl@c5fcc4b463bb3a054acaeb6896135ec9cc16c493 -
Branch / Tag:
refs/heads/dev - Owner: https://github.com/krsite-dl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c5fcc4b463bb3a054acaeb6896135ec9cc16c493 -
Trigger Event:
push
-
Statement type:
File details
Details for the file krsite_dl-0.1.0-py3-none-any.whl.
File metadata
- Download URL: krsite_dl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 79.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66e96b0ea877f716490ba0a4bdafacc61aaa4ddca3c055a6ae8d66237bbf868c
|
|
| MD5 |
fc8ad9cc82d406e611176df0f69261fc
|
|
| BLAKE2b-256 |
d2d5733e31c21d6b6f87cc4b2d0e2072218463683a36077022a26020722a63d0
|
Provenance
The following attestation bundles were made for krsite_dl-0.1.0-py3-none-any.whl:
Publisher:
release.yml on krsite-dl/krsite-dl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
krsite_dl-0.1.0-py3-none-any.whl -
Subject digest:
66e96b0ea877f716490ba0a4bdafacc61aaa4ddca3c055a6ae8d66237bbf868c - Sigstore transparency entry: 350741723
- Sigstore integration time:
-
Permalink:
krsite-dl/krsite-dl@c5fcc4b463bb3a054acaeb6896135ec9cc16c493 -
Branch / Tag:
refs/heads/dev - Owner: https://github.com/krsite-dl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c5fcc4b463bb3a054acaeb6896135ec9cc16c493 -
Trigger Event:
push
-
Statement type: