Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zjeffer/download-series
Use DASH links to download episodes from streaming sites
https://github.com/zjeffer/download-series
entertainment ffmpeg youtube-dl
Last synced: 1 day ago
JSON representation
Use DASH links to download episodes from streaming sites
- Host: GitHub
- URL: https://github.com/zjeffer/download-series
- Owner: zjeffer
- Created: 2020-09-04T18:27:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-28T21:25:31.000Z (about 4 years ago)
- Last Synced: 2024-11-02T10:42:19.369Z (about 2 months ago)
- Topics: entertainment, ffmpeg, youtube-dl
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# downloadSeries.sh
* Requires [youtube-dl](https://github.com/ytdl-org/youtube-dl) and `ffmpeg`
Download episodes from a streaming site using their DASH manifest links. Works with all links compatible with youtube-dl.
```
Usage: downloadSeries.sh [-p ARGS] [-f FILE] [-d DIRECTORY]-p (optional) Add ffmpeg's --postprocessor-args arguments to every youtube-dl command
-f (required) File with DASH manifest links and episode numbers:
Every line in the should have the following format: \"MPDLINK SxxExx\",
where MPDLINK is a link to the .mpd file, and SxxExx is the season and episode.
-d (optional) Directory to save the episodes in.
Default is current directory (./)
```example file: `episodes.txt`
```
https://example.com/serieName/link/to/episode/link.mpd S01E01
https://example.com/serieName/link/to/episode/link.mpd S01E02
https://example.com/serieName/link/to/episode/link.mpd S01E03
```example syntax to download episode S01E01-S01E03 and put it in the "serieName" folder.
`./downloadSeries -f episodes.txt -d "serieName"`
# cutAds.sh
* Requires `ffmpeg`, `ffprobe`
* Requires the `nvidia-codec` and `cuda` packages to use hardware accelerated encoding (if using Nvidia)If a downloaded video has ads at the beginning and/or end of it, this cuts them out.
```
Usage: cutAds.sh [-d DIRECTORY] [-f FILE] [-s START] [-e END]-d directory of .mp4 files
-f or just one mp4 file
-s cut out this amount of seconds at the start
-e cut out this amount of seconds at the end
```