All Projects → KevCui → soap2day-dl

KevCui / soap2day-dl

Licence: WTFPL license
📺 Soap2day downloader: download TV series and movies in your terminal

Programming Languages

shell
77523 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to soap2day-dl

AndroidTVMovieParadise
Movie Paradise is an Android TV 📺 app. ExoPlayer, Dagger 2, RxJava libraries are used.
Stars: ✭ 68 (+134.48%)
Mutual labels:  tv-series, tv-shows
arch-plexpass
Docker build script for Arch Linux base with Plex Pass Media Server installed
Stars: ✭ 21 (-27.59%)
Mutual labels:  tv-series, tv-shows
WatchSomething
Project that uses an API to list movies and tv shows that are latest, popular, top rated & on air.
Stars: ✭ 11 (-62.07%)
Mutual labels:  tv-series, tv-shows
DroidShows
A Reboot of DroidSeries Offline TV Shows Tracker
Stars: ✭ 69 (+137.93%)
Mutual labels:  tv-series, tv-shows
DaumMovieTVSeries.bundle
Plex Metadata Agent for daum movie & tv series
Stars: ✭ 38 (+31.03%)
Mutual labels:  tv-series, tv-shows
animepahe-dl
⬇️ animepahe anime downloader
Stars: ✭ 66 (+127.59%)
Mutual labels:  bash-script, batch-download
tvthemes
ggplot2 themes and palettes based on your favorite TV shows
Stars: ✭ 120 (+313.79%)
Mutual labels:  tv-series, tv-shows
rose
Analyse all kinds of data for a TV series
Stars: ✭ 34 (+17.24%)
Mutual labels:  tv-series, tv-shows
first-steps-and-hardening-in-ubuntu-server-and-docker
First Steps in Ubuntu (Server) / Hardening and Config With Docker
Stars: ✭ 28 (-3.45%)
Mutual labels:  bash-script
DoTH-DNS
Your server doth DNS the safe way if you use DoTH-DNS.
Stars: ✭ 26 (-10.34%)
Mutual labels:  bash-script
stremio-addons-list
A community curated list of Stremio Addons
Stars: ✭ 330 (+1037.93%)
Mutual labels:  tv-shows
etv-comskip
Commercial Marking and Skipping for EyeTV and iTunes Exports
Stars: ✭ 48 (+65.52%)
Mutual labels:  tv-shows
webrecon
Automated Web Recon Shell Scripts
Stars: ✭ 48 (+65.52%)
Mutual labels:  bash-script
bhedak
A replacement of "qsreplace", accepts URLs as standard input, replaces all query string values with user-supplied values and stdout.
Stars: ✭ 77 (+165.52%)
Mutual labels:  bash-script
nginx-virtual-host-bash-script
Nginx Virtual Host Bash Script
Stars: ✭ 35 (+20.69%)
Mutual labels:  bash-script
iOS-AirPrint-for-Mac
enable iOS Airprint Sharing on Mac OS
Stars: ✭ 24 (-17.24%)
Mutual labels:  bash-script
linux-android-backup
Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
Stars: ✭ 119 (+310.34%)
Mutual labels:  bash-script
Dotfiles
Well documented awesome dotfiles 😍 Many neovim lua configs, handy zsh/bash functions, fzf functions + more
Stars: ✭ 64 (+120.69%)
Mutual labels:  bash-script
fedora-post-install-script
A Fedora GNOME post-install script
Stars: ✭ 28 (-3.45%)
Mutual labels:  bash-script
convert-db-to-csv
convert-db-to-csv.sh is a shell script that uses SQLite3 to convert a .db file into .csv files. It converts each of the tables in the database into csv files.
Stars: ✭ 58 (+100%)
Mutual labels:  bash-script

soap2day-dl

Download TV series and movies from soap2day in your terminal

Table of Contents

Dependency

Installation

  • Install npm packages:
$ cd bin
$ npm i puppeteer-core puppeteer-extra puppeteer-extra-plugin-stealth

How to use

Usage

Usage:
  ./soap2day-dl.sh [-n <name>] [-p <path>] [-e <num1,num2,num3-num4...>] [-l] [-s] [-x <command>] [-d]

Options:
  -n <name>               TV series or Movie name
  -p <path>               media path, e.g: /tv_XXXXXXXX.html
                          ingored when "-n" is enabled
  -e <num1,num3-num4...>  optional, episode number to download
                          e.g: episode number "3.2" means Season 3 Episode 2
                          multiple episode numbers seperated by ","
                          episode range using "-"
  -l                      optional, list video or subtitle link without downloading
  -s                      optional, download subtitle only
  -x                      optional, call external download utility
  -d                      enable debug mode
  -h | --help             display this help message

Example

  • Search TV series or movies name and select the right one in fzf:
$ ./soap2day-dl.sh -n 'game of'
  [/movie_aTo3Njk2Ow.html] Game of Death
  [/movie_aToxNTUwOw.html] Sherlock Holmes: A Game of Shadows
  [/tv_aToyMjUzOw.html] Game of Silence
> [/tv_aTo2Mjs.html] Game of Thrones
  • If the media URI path is known, for instance, /tv_aTo2Mjs.html in the previous example is the path for Game of Thrones:
$ ./soap2day-dl.sh -p /tv_aTo2Mjs.html
...
[2.1] 1.Winter is Coming
[2.2] 2.The Kingsroad
[2.3] 3.Lord Snow
[2.4] 4.Cripples, Bastards, and Broken Things
[2.5] 5.The Wolf and the Lion
[2.6] 6.A Golden Crown
[2.7] 7.You Win or You Die
[2.8] 8.The Pointy End
...
Which episode(s) to download:
  • Download Friends S01E01:
$ ./soap2day-dl.sh -p /tv_aTo2OTs.html -e 1.1
[INFO] Downloading video 1.1...

The downloaded video will be present in the folder ~/<media_name>/

  • Support batch downloads: download Friends S01E01 to S01E05:
$ ./soap2day-dl.sh -p /tv_aTo2OTs.html -e 1.1,1.2,1.3,1.4,1.5
[INFO] Downloading video 1.1...
...
[INFO] Downloading video 1.2...
...
[INFO] Downloading video 1.3...
...
[INFO] Downloading video 1.4...
...
[INFO] Downloading video 1.5...
...

OR using episode range:

$ ./soap2day-dl.sh -p /tv_aTo2OTs.html -e 1.1-1.5
[INFO] Downloading video 1.1...
...
[INFO] Downloading video 1.2...
...
[INFO] Downloading video 1.3...
...
[INFO] Downloading video 1.4...
...
[INFO] Downloading video 1.5...
...

⚠️ The range option only works when the season number is the same. To download episodes in different seasons, for example: ... -e 1.1-1.5,2.2-2.8,3.1-3.5

  • Display only video link, used to pipe into mpv or other media player:
$ mpv "$(./soap2day-dl.sh -p /tv_aTo2Mjs.html -e 1.1 -l)"

OR the interactive way:

$ mpv "$(./soap2day-dl.sh -n 'game of' -l | grep 'https://')"
  • Download subtitle only
./soap2day-dl.sh -n 'game of thrones' -s
  • Customize subtitle language
SOAP2DAY_SUBTITLE_LANG=French ./soap2day-dl.sh -n 'game of thrones'
  • Use external download utility instead of curl, for example using aria2c:
./soap2day-dl.sh -n 'game of thrones' -e 1.1 -x 'aria2c -x 16'

Advanced Usage

It's recommended to use curl-impersonate to gain a faster running speed:

  1. Clone curl-impersonate repository to local

  2. Build Chrome binary following the instruction in README.md

  3. Copy compiled binary to bin/ folder: docker cp <container-id>:/build/out/curl-impersonate bin/

After that, use script normally, you can feel the running speed gets faster!

Disclaimer

The purpose of this script is to download TV series episodes and movies in order to watch them later in case when Internet is not available. Please do NOT copy or distribute downloaded materials to any third party. Watch them and delete them afterwards. Please use this script at your own responsibility.

You may also like...

What to know when the new episode of your favorite TV series or movie will be released?

Check out this script tvdb-cli


Buy Me A Coffee

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].