パイソン
N_m3u8DL-RE
ffmpeg
mkvmerge
mp4復号化
シャカパッケージャー
hola-プロキシ (オプション)
Windscribe-プロキシ (オプション)
有効な Widevine CDM (これは含まれていないため、質問しないでください)
ヒント
Windows ユーザーは、最高のエクスペリエンスを得るために Windows ターミナルで Powershell 7 を使用することをお勧めします。
/utils/wvd/
フォルダーを作成し、その中に .wvd ファイルまたは private_key および client_id BLOB を配置します。pip install -r requirements.txt
ヒント
常に最新の状態を保つためにメイン ブランチのクローンを作成します。
git clone https://github.com/stabbedbybrick/freevine.git freevine
ModuleNotFoundError: 名前付きのモジュールがありません...
必要なパッケージがインストールされていません。 pip install -r requirements.txt
実行します。
「必要なキーとクライアント ID が見つかりません」
コンテンツは暗号化されているため、復号化モジュールが必要です。これはユーザー次第であり、このプロジェクトによって提供されるものではありません。
接続エラー: 400/403/404
サービスによって地理的にブロックされている可能性があります。 VPN を使用するか、プロキシ オプションを試してください。
資格情報を含むユーザー プロファイルは、それを必要とするサービスに対して設定できます。
freevine . py profile - - username "USERNAME" - - password "PASSWORD" - - service "SERVICE"
注記
ユーザー プロファイルを設定すると、サービス フォルダーに profile.yaml が作成され、認証情報とキャッシュされた認証トークンおよび更新トークンが保存されます。
サービスで Cookie が必要な場合は、ブラウザ拡張機能を使用して Cookie を .txt ファイル形式でダウンロードできます。
Firefox: https://addons.mozilla.org/addon/export-cookies-txt
Chrome: https://chrome.google.com/webstore/detail/gdocmgbfkjnnpapoeobnolbbkoibbcif
cookies.txt
という名前を付けてサービスフォルダに置きます
--proxy
オプションを使用する場合、プロキシを指定するか、国コード (US、UK、SE など) を使用してプロキシを要求できます。
プロキシを要求するには、hola-proxy または Windscribe-proxy が必要です。リリース ページから実行可能ファイルをダウンロードし、名前を「hola-proxy」または「windscribe-proxy」に変更します。他の必要なツールと同じ場所に配置します。システム PATH が推奨されます。構成ファイルで使用するプロキシを必ず指定してください。
freevine.py --proxy US
freevine.py --proxy "01.234.56.789:10"
注記
プロキシは API とライセンスのリクエストにのみ影響し、ダウンロードには影響しません。
利用可能なコマンド:
Commands :
clear - cache Delete download cache
file Read commands from a text file
get Download series or movies
profile Create a profile with user credentials
search Search one or multiple services for titles
service - info Print information about each streaming service
get
コマンドで使用可能な引数:
- - proxy TEXT Request or specify a proxy server
- - threads TEXT Concurrent download fragments
- - format TEXT Specify file format
- - muxer TEXT Select muxer
- - no - mux Choose to not mux files
- - save - name TEXT Name of saved file
- - save - dir TEXT Save directory
- - sub - only Download only subtitles
- - sub - no - mux Choose to not mux subtitles
- - sub - no - fix Leave subtitles untouched
- - use - shaka - packager Use shaka - packager to decrypt
- - add - command TEXT Add extra command to N_m3u8DL - RE
- - slowdown INTEGER Add sleep ( in seconds ) between downloads
- - no - cache Ignore download cache
- - append - id Append video id to filename
- fn , - - force - numbering Force add numbering to episodes
- e , - - episode TEXT Download episode ( s )
- s , - - season TEXT Download complete season
- c , - - complete Download complete series
- m , - - movie Download movie
- t , - - titles List all titles
- i , - - info Print title info
- sv , - - select - video TEXT Select video stream
- sa , - - select - audio TEXT Select audio stream
- dv , - - drop - video TEXT Drop video stream
- da , - - drop - audio TEXT Drop audio stream
- ss , - - select - subtitle TEXT Select subtitle
- ds , - - drop - subtitle TEXT Drop subtitle
例:
freevine . py get - - help ( READ THIS !)
freevine . py get - - titles URL
freevine . py get - - movie URL
freevine . py get - - info - - episode S01E01 URL
freevine . py get - - sub - only - - episode S01E01 URL
freevine . py get - - episode S01E01 URL
freevine . py get - - episode "name of episode" URL
freevine . py get - - episode EPISODE_URL
freevine . py get - - episode S01E01 - S01E10 URL
freevine . py get - - episode S01E01 , S03E12 , S05E03 URL
freevine . py get - - season S01 , S03 , S05 URL
freevine . py get - - select - video res = 720 - - season S01 URL
freevine . py get - - select - audio name = English - - episode S01E01 URL
freevine . py service - info
freevine . py service - info "iplayer"
freevine . py profile - - help
freevine . py profile - - username "username" - - password "password" - - service "service"
freevine . py search - - help
freevine . py search iplayer "KEYWORDS"
freevine . py clear - cache
高度なトラック選択:
# Select multiple tracks from id, codec, channel etc.
freevine . py get - - select - video id = "7|8" : for = best2
freevine . py get - - select - audio codecs = "ec-3|mp4a" : for = best2
freevine . py get - - select - audio lang = "ja|en" : for = best2
# Select best video with duration longer than 1 hour 20 minutes 30 seconds
freevine . py get - - select - video plistDurMin = "1h20m30s" : for = best
# Select all subs containing "English"
freevine . py get - - select - subtitle name = "English" : for = all
# Select best track based on role (only available in pre-release build of N_m3u8DL-RE)
freevine . py get - - select - audio role = "main" : for = best
freevine . py get - - select - audio role = "descriptive" : for = best
ヒント
考えられる選択パターンについては、「N_m3u8DL-RE --morehelp select-video/audio/subtitle」を参照してください。