项目作者: KevCui

项目描述 :
:tv: Soap2day downloader: download TV series and movies
高级语言: Shell
项目地址: git://github.com/KevCui/soap2day-dl.git
创建时间: 2020-10-25T12:05:16Z
项目社区:https://github.com/KevCui/soap2day-dl

开源协议:Do What The F*ck You Want To Public License

下载


soaper-dl

Download TV series and movies from Soaper in your terminal

Table of Contents

Dependency

How to use

Usage

  1. Usage:
  2. ./soaper-dl.sh [-n <name>] [-p <path>] [-e <num1,num2,num3-num4...>] [-l] [-s] [-d]
  3. Options:
  4. -n <name> TV series or Movie name
  5. -p <path> media path, e.g: /tv_XXXXXXXX.html
  6. ingored when "-n" is enabled
  7. -e <num1,num3-num4...> optional, episode number to download
  8. e.g: episode number "3.2" means Season 3 Episode 2
  9. multiple episode numbers seperated by ","
  10. episode range using "-"
  11. -l optional, list video or subtitle link without downloading
  12. -s optional, download subtitle only
  13. -d enable debug mode
  14. -h | --help display this help message

Example

  • Search TV series or movies name and select the right one in fzf:
  1. $ ./soaper-dl.sh -n 'game of'
  2. [/movie_mlkW68VGba.html][2023] The Game of Crowns: The Tudors
  3. [/movie_nXDEY29Dml.html][2023] Game of Love
  4. [/movie_LwD8MEPg9a.html][2023] Game of Deceit
  5. [/movie_zrYg3nbDL1.html][2022] A Game of Secrets
  6. [/movie_wY4GQ0Wgbe.html][2023] Game of Love
  7. > [/tv_34OGB6G6Zl.html][2011-04-17] Game of Thrones
  • If the media URI path is known, for instance, /tv_34OGB6G6Zl.html in the previous example is the path for Game of Thrones:
  1. $ ./soaper-dl.sh -p /tv_34OGB6G6Zl.html
  2. ...
  3. [2.1] 1.Winter is Coming
  4. [2.2] 2.The Kingsroad
  5. [2.3] 3.Lord Snow
  6. [2.4] 4.Cripples, Bastards, and Broken Things
  7. [2.5] 5.The Wolf and the Lion
  8. [2.6] 6.A Golden Crown
  9. [2.7] 7.You Win or You Die
  10. [2.8] 8.The Pointy End
  11. ...
  12. Which episode(s) to download:
  • Download Friends S01E01:
  1. $ ./soaper-dl.sh -p /tv_YxAgjOVGEL.html -e 1.1
  2. [INFO] Downloading video 1.1...

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

  • Support batch downloads: download Friends S01E01 to S01E05:
  1. $ ./soaper-dl.sh -p /tv_aTo2OTs.html -e 1.1,1.2,1.3,1.4,1.5
  2. [INFO] Downloading video 1.1...
  3. ...
  4. [INFO] Downloading video 1.2...
  5. ...
  6. [INFO] Downloading video 1.3...
  7. ...
  8. [INFO] Downloading video 1.4...
  9. ...
  10. [INFO] Downloading video 1.5...
  11. ...

OR using episode range:

  1. $ ./soaper-dl.sh -p /tv_aTo2OTs.html -e 1.1-1.5
  2. [INFO] Downloading video 1.1...
  3. ...
  4. [INFO] Downloading video 1.2...
  5. ...
  6. [INFO] Downloading video 1.3...
  7. ...
  8. [INFO] Downloading video 1.4...
  9. ...
  10. [INFO] Downloading video 1.5...
  11. ...

:warning: 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:
  1. $ mpv "$(./soaper-dl.sh -p /tv_YxAgjOVGEL.html -e 1.1 -l)"
  • Download subtitle only
  1. ./soaper-dl.sh -n 'game of thrones' -s
  • Customize subtitle language
  1. SOAPER_SUBTITLE_LANG=fr ./soaper-dl.sh -n 'game of thrones'

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.


Buy Me A Coffee