Skip to main content

No project description provided

Project description

Visitors Stars Forks
CodeQL Dependency Review License

Table of Contents

Guides & Installation

[!IMPORTANT]

  1. Make sure you have python3 at least version 3.7 installed and executeable in your system's PATH.

  2. Clone this repository git clone -b master git@github.com:krsite-dl/krsite-dl.git or download the latest release from releases

  3. Run pip3 install -r requirements.txt to install dependencies

[!NOTE] To update the script, you need to pull this repository again. You can also run git pull if you have git installed. Make sure to run another pip install -r requirements.txt to 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.conf file 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

krsite_dl-0.1.0.tar.gz (50.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

krsite_dl-0.1.0-py3-none-any.whl (79.2 kB view details)

Uploaded Python 3

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

Hashes for krsite_dl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5607a34b539b86f7d972f749921c149e369cd9ab50be9085a0765db7b1da371f
MD5 799a4764e2df158aebdf0353ec6caa54
BLAKE2b-256 7bbf4e582f235203664376bb00301a3f9a28b55943436acd34a58688a80fe7d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for krsite_dl-0.1.0.tar.gz:

Publisher: release.yml on krsite-dl/krsite-dl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for krsite_dl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66e96b0ea877f716490ba0a4bdafacc61aaa4ddca3c055a6ae8d66237bbf868c
MD5 fc8ad9cc82d406e611176df0f69261fc
BLAKE2b-256 d2d5733e31c21d6b6f87cc4b2d0e2072218463683a36077022a26020722a63d0

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page