Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
--ignore-errors option doesn't work properly #7535
Comments
|
Just to clarify: |
|
Thank you for your reply, Yen. But your code example won't work as when download starts, the So I have to wrap batch youtube downloads with this code: while read PREFIX QUALITY FORMAT
do until [ -e *"$PREFIX"\."$FORMAT" ]
do youtube-dl --recode-video "$FORMAT" http\:\/\/youtu\.be\/"$PREFIX" -f "$QUALITY"
done
done < tubewhere
I guess this is the only way to make Anyway, thank you for your work and great software! |
Hello.
Due to my weak internet connection
youtube-dlrather often stops with errors likeor
or
or things like that. Even I use
--ignore-errorsoption.So I have to wrap
youtube-dlwith bash. Say, I want to get a best quality video from Youtube:until [ -e *"$PREFIX"\.mp4 ] ; do youtube-dl "$PREFIX" ; doneBut a problem appears with batch file containing URLs or prefixes for download — I can't guess an extention for downloaded file so wrapper continues downloading an only file till I stop it.
Is there a way to fix it without branchyspreading shell-scripting?