arhivach-downloader

Download arhivach.vc threads
git clone https://git.ea.contact/arhivach-downloader
Log | Files | Refs | README

README.md (4299B)


      1 # Русская версия внизу / Russian version below
      2 
      3 # Arhivach downloader
      4 
      5 Download threads from arhivach.vc and save them locally for offline access or preservation.
      6 
      7 # Usage
      8 
      9 ## TUI
     10 
     11 Run arhivach-downloader-tui, paste the url in the first field, fill the arguments (see description the the CLI subsection) and press Enter.
     12 
     13 ## CLI
     14 
     15 `arhivach-downloader-cli --help`:
     16 
     17 ```
     18 Download threads from arhivach.
     19 
     20 Usage: arhivach-downloader-cli [OPTIONS] <URL>
     21 
     22 Arguments:
     23   <URL>  URL to download
     24 
     25 Options:
     26   -d, --dir <DIR>                   Path to download directory [default: .]
     27   -e, --exporter <EXPORTER>         Exporter [default: html] [possible values: html]
     28   -t, --thumb                       Download thumbnail images, default: false
     29   -f, --files                       Download files (images, videos, gifs, etc), default: false
     30   -r, --resume                      Resume files and thumbnails downloading instead of overwriting. Useless if neither -t nor -f are set, default: false
     31   -R, --retries <DOWNLOAD_RETRIES>  Download retries in case of a error [default: 3]
     32   -h, --help                        Print help
     33 ```
     34 
     35 Creates DIR and writes the following content:
     36 - `index.html` — the thread. Open it with your web browser.
     37 - `files/` (if `-f`/`--files` is given) — original files attached to posts. May be large if there are many videos.
     38 - `thumb/` (if `-t`/`--thumb` is given) — thumbnails needed to render file previews in the thread.
     39 
     40 Use `-r`/`--resume` to skip files and thumbnails that are already downloaded. Skips them even if they are partially downloaded or corrupted.
     41 
     42 Use `-d`/`--dir` to specify where to create the thread directory (defaults to the current directory).
     43 
     44 Use `-R`/`--retries` to control how many times a failed download is retried (default: 3).
     45 
     46 ---
     47 
     48 # Загрузчик Архивача
     49 
     50 Скачивает треды с arhivach.vc и сохраняет их локально для офлайн-доступа или архивирования.
     51 
     52 # Использование
     53 
     54 ## TUI
     55 
     56 Запустите arhivach-downloader-tui, вставьте ссылку в первое поле, заполните аргументы (описание см. в подразделе CLI) и нажмите Enter.
     57 
     58 ## CLI
     59 
     60 `arhivach-downloader-cli --help`:
     61 
     62 ```
     63 Download threads from arhivach.
     64 
     65 Usage: arhivach-downloader-cli [OPTIONS] <URL>
     66 
     67 Arguments:
     68   <URL>  URL to download
     69 
     70 Options:
     71   -d, --dir <DIR>                   Path to download directory [default: .]
     72   -e, --exporter <EXPORTER>         Exporter [default: html] [possible values: html]
     73   -t, --thumb                       Download thumbnail images, default: false
     74   -f, --files                       Download files (images, videos, gifs, etc), default: false
     75   -r, --resume                      Resume files and thumbnails downloading instead of overwriting. Useless if neither -t nor -f are set, default: false
     76   -R, --retries <DOWNLOAD_RETRIES>  Download retries in case of a error [default: 3]
     77   -h, --help                        Print help
     78 ```
     79 
     80 Создаёт DIR и записывает следующее содержимое:
     81 - `index.html` — тред. Откройте его в браузере.
     82 - `files/` (если указан флаг `-f`/`--files`) — оригинальные файлы из постов. Может быть большим, если в треде много видео.
     83 - `thumb/` (если указан флаг `-t`/`--thumb`) — миниатюры, необходимые для отображения превью файлов в треде.
     84 
     85 Используйте `-r`/`--resume`, чтобы пропускать уже скачанные файлы и миниатюры. Пропускаются даже частично скачанные или повреждённые файлы.
     86 
     87 Используйте `-d`/`--dir`, чтобы указать, куда создать папку треда (по умолчанию — текущая директория).
     88 
     89 Используйте `-R`/`--retries`, чтобы задать количество повторных попыток при ошибке скачивания (по умолчанию: 3).