https://github.com/Rendevior/hlsdl-cli
HLS playlist downloader written in Shell
https://github.com/Rendevior/hlsdl-cli
hls hls-downloader shell
Last synced: 12 months ago
JSON representation
HLS playlist downloader written in Shell
- Host: GitHub
- URL: https://github.com/Rendevior/hlsdl-cli
- Owner: Rendevior
- License: gpl-3.0
- Created: 2022-12-27T09:59:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-27T10:33:45.000Z (over 3 years ago)
- Last Synced: 2024-07-27T16:44:32.754Z (almost 2 years ago)
- Topics: hls, hls-downloader, shell
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hlsdl-cli
Simple HLS playlist downloader written in Shell
# Installation
```sh
curl -sLo "${PREFIX}/bin/hlsdl-cli" https://raw.githubusercontent.com/Rendevior/hlsdl-cli/master/hlsdl-cli
chmod +x "${PREFIX}/bin/hlsdl-cli"
```
## Options
```
-v : Print Version and Exit
-h : Print Help
-z : Supress output (only shows errors)
-q [high|low] : Choose specific Quality
-u, --user-agent=[useragent] : Set an User-Agent Header
-r, --referer=[referer] : Set an HTTP Referer Header
-o [filename] : Output filename
-d [dir] : Cache to specific directory (default: ~/.ffmhls)
-c [N] : Set number of connection will be used for downloading [1-16]
--header=[headers] : Set a custom HTTP Headers for request
```
## How to use
Example usage:
```sh
hlsdl-cli -o filename.mp4 -d ./.cache -q 720 "https://example.com/example.m3u8"
```
## Dependencies
- sed
- grep
- awk
- curl
- openssl
- ffmpeg
- aria2