You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a description that is worded well enough to be understood
I've written a script for downloading live video after the live ending, and recently added the new parameter --wait-for-video 0.
Before starting the download, if the video has been set to Private video, it will keep retrying without access.
The behaviour I'd like is to stop retrying instead of keeping trying for a video that won't download.
Provide verbose output that clearly demonstrates the problem
Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
If using API, add 'verbose': True to YoutubeDL params instead
Copy the WHOLE output (starting with [debug] Command-line config) and insert it below
Complete Verbose Output
# ./yt-dlp_linux https://www.youtube.com/watch?v=7XcWhiPz57I -P ./Youtube --proxy http://127.0.0.1:7890 --wait-for-video 0 -vU
[debug] Command-line config: ['https://www.youtube.com/watch?v=7XcWhiPz57I', '-P', './Youtube', '--proxy', 'http://127.0.0.1:7890', '--wait-for-video', '0', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp-nightly-builds (linux_exe)
[debug] Python 3.11.9 (CPython x86_64 64bit) - Linux-5.10.0-21-amd64-x86_64-with (OpenSSL 3.1.4 24 Oct 2023)
[debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0, phantomjs broken, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, secretstorage-3.3.3, sqlite3-3.44.2, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {'all': 'http://127.0.0.1:7890'}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp-nightly-builds)
[youtube] Extracting URL: https://www.youtube.com/watch?v=7XcWhiPz57I
[youtube] 7XcWhiPz57I: Downloading webpage
[youtube] 7XcWhiPz57I: Downloading ios player API JSON
[youtube] 7XcWhiPz57I: Downloading android player API JSON
WARNING: [youtube] Skipping player responses from android clients (got player responses for video "aQvGIIdgFDM" instead of "7XcWhiPz57I")
WARNING: [youtube] Private video. Sign inif you've been granted access to this videoWARNING: Video should already be available according to extracted info[wait] Waiting for 00:00:00 - Press Ctrl+C to try now[wait] Wait period ended; Re-extracting data[youtube] Extracting URL: https://www.youtube.com/watch?v=7XcWhiPz57I[youtube] 7XcWhiPz57I: Downloading webpage[youtube] 7XcWhiPz57I: Downloading ios player API JSON[youtube] 7XcWhiPz57I: Downloading android player API JSONWARNING: [youtube] Skipping player responses from android clients (got player responses for video "aQvGIIdgFDM" instead of "7XcWhiPz57I")WARNING: [youtube] Private video. Sign in if you've been granted access to this video
WARNING: Video should already be available according to extracted info
[wait] Waiting for 00:00:00 - Press Ctrl+C to try now
[wait] Wait period ended; Re-extracting data
[youtube] Extracting URL: https://www.youtube.com/watch?v=7XcWhiPz57I
[youtube] 7XcWhiPz57I: Downloading webpage
[youtube] 7XcWhiPz57I: Downloading ios player API JSON
[youtube] 7XcWhiPz57I: Downloading android player API JSON
WARNING: [youtube] Skipping player responses from android clients (got player responses for video "aQvGIIdgFDM" instead of "7XcWhiPz57I")
WARNING: [youtube] Private video. Sign inif you've been granted access to this videoWARNING: Video should already be available according to extracted info[wait] Waiting for 00:00:00 - Press Ctrl+C to try now[wait] Wait period ended; Re-extracting data[youtube] Extracting URL: https://www.youtube.com/watch?v=7XcWhiPz57I[youtube] 7XcWhiPz57I: Downloading webpage^CERROR: Interrupted by user
The text was updated successfully, but these errors were encountered:
moomiji
changed the title
[YouTube] --wait-for-video should be able to stop retrying wihout access when a Private video is available
[YouTube] --wait-for-video should be able to stop retrying without access when a Private video is available
Apr 29, 2024
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
Taiwan
Provide a description that is worded well enough to be understood
I've written a script for downloading live video after the live ending, and recently added the new parameter
--wait-for-video 0
.Before starting the download, if the video has been set to
Private video
, it will keep retrying without access.The behaviour I'd like is to stop retrying instead of keeping trying for a video that won't download.
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: