https://github.com/kenorb/chomik
Scripts for downloading files from chomikuj.pl
https://github.com/kenorb/chomik
Last synced: 10 months ago
JSON representation
Scripts for downloading files from chomikuj.pl
- Host: GitHub
- URL: https://github.com/kenorb/chomik
- Owner: kenorb
- License: mit
- Created: 2014-03-06T11:35:46.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-08-26T10:05:17.000Z (almost 11 years ago)
- Last Synced: 2025-05-05T22:43:41.712Z (about 1 year ago)
- Language: PHP
- Size: 183 KB
- Stars: 17
- Watchers: 8
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
ChomikDownloader
================
Scripts for downloading files from chomikuj.pl
Usage
=====
php chomik.php -u USER -p PASSWORD --url="http://chomikuj.pl/PATH" [optional options] destination
Required Options:
--user=USER Uses specified user name for authentication.
--password=PASSWORD Uses specified user password for authentication.
--hash=HASH Uses specified user password hash for authentication.
--url=URL Downloads files from the specified URL.
Optional Options:
--ext=EXTENSIONS Downloads only files of the specified extensions, separated by comma.
-r, --recursive Downloads also all subdirectories.
-s, --structure Creates full folder structure.
-o, --overwrite Overwrites existing files.
-h, --help, /? Shows this help.
NOTE:
- To log in you may use password OR hash.
- URLs must start with "http://chomikuj.pl/" and must NOT end with a slash.
- By default the script downloads files into the folder from where it was run.
Examples:
php chomik.php --user=chomikoryba --password=ryba123 --url="http://chomikuj.pl/chomikoryba" -r -s downloads
php chomik.php --user=chomikoryba --hash=233b5774ada09b36458f69a04c9718e9 --url="http://chomikuj.pl/chomikoryba/Myriad+Pro+%28CE%29-TTF" -r --ext="ttf,otf" fonts