Open larryhudson opened 11 months ago
URL: https://www.theverge.com/2023/10/1/23895069/walter-isaacson-biography-musk-review
Looks like yt-dlp is using a 'VoxMedia' extractor. So I probably need to change my code to only continue if it definitely can download something?
yt-dlp output:
[task-queue] { downloadFilename: '.mp3' } [task-queue] { outputFilePath: 'static/articles/.mp3' } [task-queue] { [task-queue] absoluteOutputFilePath: '/home/larry/github.com/larryhudson/astro-sqlite-tts-feed/static/articles/.mp3' [task-queue] } [task-queue] stdout: [VoxMedia] Extracting URL: https://www.theverge.com/2023/10/1/23895069/walter-isaacson-biography-musk-review [task-queue] [VoxMedia] walter-isaacson-biography-musk-review: Downloading webpage [task-queue] [task-queue] stdout: [download] Downloading playlist: How the Elon Musk biography exposes Walter Isaacson [task-queue] [task-queue] stdout: [VoxMedia] Playlist How the Elon Musk biography exposes Walter Isaacson: Downloading 0 items [task-queue] [task-queue] stdout: [download] Finished downloading playlist: How the Elon Musk biography exposes Walter Isaacson [task-queue] [task-queue] child process exited with code 0 [task-queue] Error: Command failed with exit code 1: /home/larry/github.com/larryhudson/astro-sqlite-tts-feed/node_modules/@ffprobe-installer/linux-x64/ffprobe -v error -select_streams a:0 -show_format -show_strea ms /home/larry/github.com/larryhudson/astro-sqlite-tts-feed/static/articles/.mp3 [task-queue] /home/larry/github.com/larryhudson/astro-sqlite-tts-feed/static/articles/.mp3: No such file or directory [task-queue] at makeError (/home/larry/github.com/larryhudson/astro-sqlite-tts-feed/node_modules/get-audio-duration/node_modules/execa/lib/error.js:60:11) [task-queue] at handlePromise (/home/larry/github.com/larryhudson/astro-sqlite-tts-feed/node_modules/get-audio-duration/node_modules/execa/index.js:118:26) [task-queue] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { [task-queue] shortMessage: 'Command failed with exit code 1: /home/larry/github.com/larryhudson/astro-sqlite-tts-feed/node_modules/@ffprobe-installer/linux-x64/ffprobe -v error -select_streams a:0 -show_format - show_streams /home/larry/github.com/larryhudson/astro-sqlite-tts-feed/static/articles/.mp3', [task-queue] command: '/home/larry/github.com/larryhudson/astro-sqlite-tts-feed/node_modules/@ffprobe-installer/linux-x64/ffprobe -v error -select_streams a:0 -show_format -show_streams /home/larry/github.com/la rryhudson/astro-sqlite-tts-feed/static/articles/.mp3', [task-queue] escapedCommand: '"/home/larry/github.com/larryhudson/astro-sqlite-tts-feed/node_modules/@ffprobe-installer/linux-x64/ffprobe" -v error -select_streams "a:0" -show_format -show_streams "/home/larry/g ithub.com/larryhudson/astro-sqlite-tts-feed/static/articles/.mp3"', [task-queue] exitCode: 1, [task-queue] signal: undefined, [task-queue] signalDescription: undefined, [task-queue] stdout: '', [task-queue] stderr: '/home/larry/github.com/larryhudson/astro-sqlite-tts-feed/static/articles/.mp3: No such file or directory', [task-queue] failed: true, [task-queue] timedOut: false, [task-queue] isCanceled: false, [task-queue] killed: false [task-queue] } [task-queue] 66 has failed with Command failed with exit code 1: /home/larry/github.com/larryhudson/astro-sqlite-tts-feed/node_modules/@ffprobe-installer/linux-x64/ffprobe -v error -select_streams a:0 -show_format -show_streams /home/larry/github.com/larryhudson/astro-sqlite-tts-feed/static/articles/.mp3
URL: https://www.theverge.com/2023/10/1/23895069/walter-isaacson-biography-musk-review
Looks like yt-dlp is using a 'VoxMedia' extractor. So I probably need to change my code to only continue if it definitely can download something?
yt-dlp output: