在 yt-dlp 中添加播放列表时出错 discord.py
Error adding playlist in yt-dlp discord.py
我的机器人在 Heroku 上。
[youtube:tab] PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM: Downloading webpage
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received. Retrying ...
[youtube:tab] PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM: Downloading webpage (retry #1)
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received. Retrying ...
[youtube:tab] PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM: Downloading webpage (retry #2)
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received. Retrying ...
[youtube:tab] PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM: Downloading webpage (retry #3)
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received
ERROR: [youtube:tab] PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM: Playlists that require authentication may not extract correctly without a successful webpage download. If you are not downloading private content, or your cookies are only for the first account and channel, pass "--extractor-args youtubetab:skip=authcheck" to skip this check
如果我写入 heroku 控制台:
yt-dlp --cookies cookies.txt https://www.youtube.com/playlist?list=PLSdfU8nTff5QcNqq-muG9AZrYiVy4S3zV
开始下载音乐(没有播放音乐),但是每次都不太好写命令到控制台。
预先感谢您的帮助
从代码中删除:"cookiefile": "/config/cookies/cookies.txt"
一切正常
我的机器人在 Heroku 上。
[youtube:tab] PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM: Downloading webpage
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received. Retrying ...
[youtube:tab] PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM: Downloading webpage (retry #1)
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received. Retrying ...
[youtube:tab] PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM: Downloading webpage (retry #2)
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received. Retrying ...
[youtube:tab] PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM: Downloading webpage (retry #3)
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received
ERROR: [youtube:tab] PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM: Playlists that require authentication may not extract correctly without a successful webpage download. If you are not downloading private content, or your cookies are only for the first account and channel, pass "--extractor-args youtubetab:skip=authcheck" to skip this check
如果我写入 heroku 控制台:
yt-dlp --cookies cookies.txt https://www.youtube.com/playlist?list=PLSdfU8nTff5QcNqq-muG9AZrYiVy4S3zV
开始下载音乐(没有播放音乐),但是每次都不太好写命令到控制台。 预先感谢您的帮助
从代码中删除:"cookiefile": "/config/cookies/cookies.txt"
一切正常