Created
February 11, 2025 19:19
-
-
Save eggplants/1594233c089ec525b8bd83943631833d to your computer and use it in GitHub Desktop.
Download a purchased video from https://online-ticket.yoshimoto.co.jp with yt-dlp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# NOTE: FOR PRIVATE USE. DO NOT RE-UPLOAD DOWNLOADED VIDEOS. | |
# 1. Reveal source of video player's `<iframe id="video_iframe" ...>` to load window.dataForPlayer | |
# 2. Execute the following JS code in Developer console in the watching page of purchased video: | |
# const url = new URL(dataForPlayer.clips[0].config); | |
# url.origin + url.pathname.replace('/config', ''); | |
# // => 'https://player.vimeo.com/video/<id>' | |
yt-dlp \ | |
--referer 'https://online-ticket.yoshimoto.co.jp' \ | |
'https://player.vimeo.com/video/<id>' |
FANY
playground(yts01)
- playground(yts09)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
お試し視聴動画: https://online-ticket.yoshimoto.co.jp/products/trialvideo