youtube-dl -i -f mp4 --yes-playlist 'https://www.youtube.com/watch?v=7Vy8970q0Xc&list=PLwJ2VKmefmxpUJEGB1ff6yUZ5Zd7Gegn2'.
Home
Public
Questions
Tags
Users
Collectives
ExploreCollectives
FindaJob
Jobs
Companies
Teams
StackOverflowforTeams
–Collaborateandshareknowledgewithaprivategroup.
CreateafreeTeam
WhatisTeams?
Teams
CreatefreeTeam
CollectivesonStackOverflow
Findcentralized,trustedcontentandcollaboratearoundthetechnologiesyouusemost.
Learnmore
Teams
Q&Aforwork
Connectandshareknowledgewithinasinglelocationthatisstructuredandeasytosearch.
Learnmore
Youtube-downloadingaplaylist-youtube-dl
AskQuestion
Asked
4yearsago
Active
11daysago
Viewed
300ktimes
169
79
Iamtryingtodownloadallthevideosfromtheplaylist:
Iamusingyoutube-dlforthisandthecommandis:
youtube-dl-citk–formatmp4–yes-playlisthttps://www.youtube.com/watch?v=7Vy8970q0Xc&list=PLwJ2VKmefmxpUJEGB1ff6yUZ5Zd7Gegn2
Butthisonlydownloadsthefirstvideo.NotsurewhatIamdoingwrong.
youtubeyoutube-dl
Share
Improvethisquestion
Follow
editedAug22'18at14:16
VukašinManojlović
3,46733goldbadges1818silverbadges3030bronzebadges
askedJan24'18at12:21
DreamsDreams
4,98388goldbadges3939silverbadges6262bronzebadges
Addacomment
|
8Answers
8
Active
Oldest
Votes
281
Inashell,&isaspecialcharacter,advisingtheshelltostarteverythinguptothe&asaprocessinthebackground.Toavoidthisbehavior,youcanputtheURLinquotes.Seetheyoutube-dlFAQformoreinformation.
Alsobewareof-citk.Withtheexceptionof-i,theseoptionsmakelittlesense.Seetheyoutube-dlFAQformoreinformation.Even-fmp4looksverystrange.
Sowhatyouwantis:
youtube-dl-i-fmp4--yes-playlist'https://www.youtube.com/watch?v=7Vy8970q0Xc&list=PLwJ2VKmefmxpUJEGB1ff6yUZ5Zd7Gegn2'
Alternatively,youcanjustusetheplaylistID:
youtube-dl-iPLwJ2VKmefmxpUJEGB1ff6yUZ5Zd7Gegn2
Share
Improvethisanswer
Follow
answeredJan24'18at15:05
anonanon
10
1
whataboutthisC:\Users\lenovo\Desktop\Newfolder>youtube-dl-iPLD07B2225BB40E582[youtube:playlist]PLD07B2225BB40E582:Downloadingwebpage[download]Downloadingplaylist:PLD07B2225BB40E582[youtube:playlist]playlistPLD07B2225BB40E582:Downloading0videos[download]Finisheddownloadingplaylist:PLD07B2225BB40E582//saysfinisheddownadingbutnothingisdownloaded.
– pHotone
May29'18at19:45
2
@userqrqh123Thatsoundslikeadifferentquestion.Goaheadandaskit!Don'tforgettoincludetheoutputwhenyouaddthe-voption,becausethatwillbevitalinidentifyingwhereyourproblemis.youtube-dl-iPLD07B2225BB40E582worksfineforme.
– anon
May29'18at20:36
1
@userqrqh123AsIsaid,acommentisnottheplacetodiscussyourunrelatedproblem.Pleaseaskaquestioninstead.Inthatquestion,pleasedoincludetheoutputyougetwhenyouadd-v.Also,youshouldprobablydecidewhichofthetwooutputsyouareseeingrightnow-theyaremarkedlydifferent.
– anon
May29'18at22:13
3
youtube-dl-x-iworkedformetoconvertaplaylistintoaudio!
– Gary
Sep21'18at17:33
2
Ialsoused--no-check-certificate
– GavinPalmer
Dec9'18at20:15
|
Show5morecomments
22
Ifoundthebestsolutionaftermanyattemptsatsolvingthisproblem.
Installationandusage;
ForWindowsusers:
Script:
youtube-dl--ignore-errors--formatbestaudio--extract-audio--audio-formatmp3--audio-quality160K--output"%(title)s.%(ext)s"--yes-playlisthttps://www.youtube.com/playlist?list={your-youtube-playlist-id}
Downloadyoutube-dl.exefilefromtheofficalsite.
DowloadffmpegfromtheofficalsiteforconvertWebMtoMP3(Recomendedbuildversion)
Exctractallzipfilesandmoveyoutube-dl.exe,ffmpeg.exeandffprobe.exefilestothefolderthatwhereyouwantthedownloadedMP3files.
Opencmd(Windowsterminal)insamefolder.
Replacethescript{your-youtube-playlist-id}parameterwithyourYouTubeplaylistid.
Runthescript.
FormacOS/Linuxusers:
Script:
youtube-dl--ignore-errors--formatbestaudio--extract-audio--audio-formatmp3--audio-quality160K--output"%(title)s.%(ext)s"--yes-playlist'https://www.youtube.com/playlist?list={your-youtube-playlist-id}'
Openterminalandifyoudon'thaveHomebrew,installit.(Linuxuserscanskipthisstep.)
Runbrewinstallyoutube-dlffmpegandinstallyoutube-dlandffmpegforconvertWebMtoMP3.(Installationmaytakelongertoinstallotherdependencies.)(ForLinuxusers:sudoapt-getinstallyoutube-dlffmpeg)
OpenaterminalinthefolderwhereyouwanttodownloadtheMP3files.
Replacethescript{your-youtube-playlist-id}parameterwithyourYouTubeplaylistid.
Runthescript.
Share
Improvethisanswer
Follow
editedJan18at13:42
MichaelMior
26.8k88goldbadges8282silverbadges110110bronzebadges
answeredJul25'20at15:13
NecipSunmazNecipSunmaz
1,0391313silverbadges2020bronzebadges
1
1
Didthetrick.ButhadtopassinonlytheplaylistID
– Andrea
Feb12'21at15:55
Addacomment
|
15
Ihavetriedeverythingabove,butnonecouldsolvemyproblem.Ifixeditbyupdatingtheoldversionofyoutube-dltodownloadplaylist.
Toupdateit
sudoyoutube-dl-U
or
youtube-dl-U
afteryouhavesuccessfullyupdatedusingtheabovecommand
youtube-dl-cithttps://www.youtube.com/playlist?list=PLttJ4RON7sleuL8wDpxbKHbSJ7BH4vvCk
Share
Improvethisanswer
Follow
editedNov28'19at10:50
answeredNov28'19at10:40
SpythonianSpythonian
17911silverbadge77bronzebadges
1
1
Ifnoautoupdateallowed(afterremovinginstalledone)use:sudocurl-Lhttps://yt-dl.org/downloads/latest/youtube-dl-o/usr/local/bin/youtube-dlandsudochmoda+rx/usr/local/bin/youtube-dl
– AlexSzücs
Nov21'20at13:06
Addacomment
|
9
Yourlinkisnotaplaylist.
AproperplaylistURLlookslikethis:
https://www.youtube.com/playlist?list=PLHSdFJ8BDqEyvUUzm6R0HxawSWniP2c9K
YourURLisjustthefirstvideoOFacertainplaylist.Itcontainshttps://www.youtube.com/watch?insteadofhttps://www.youtube.com/playlist?.
PicktheplaylistbyclickingonthetitleoftheplaylistontherightsideinthelistofvideosandusethisURL.
Share
Improvethisanswer
Follow
editedSep5'20at9:31
answeredSep5'20at9:01
bombenbomben
49355silverbadges1111bronzebadges
Addacomment
|
5
Somecommandswhichyoumayfindusefulwhiledownloadingaplaylist
Downloadaplaylist
youtube-dl
Bestqualityvideoandbestqualityaudio(merged)+preferredresolution
youtube-dl-f'bestvideo[height<=1080]+bestaudio/best[height<=1080]'
Thiscommandwilldownloadvideosin1080presolutionif1080pisavailableotherwiseitwilldownloadthenextbest(lessthan1080p)resolution.Here,Youcanuse480or720,etcinsteadof1080.
Note:Makesurethat‘FFmpeg’isinstalled,otherwisevideoandaudiowillnotbemerged.
Bestqualityvideoandbestqualityaudio(merged)+preferredresolution+Addvideouploaddateonthefilename
youtube-dl-o"[%(upload_date)s]%(title)s.%(ext)s"-f'bestvideo[height<=1080]+bestaudio/best[height<=1080]'
Bestqualityvideoandbestqualityaudio(merged)+Preferredresolution+Addvideouploaddateonthefilename+Adduploadernameonthefilename
youtube-dl-o"[%(upload_date)s]%(title)s[%(uploader)s].%(ext)s"-f'bestvideo[height<=1080]+bestaudio/best[height<=1080]'
Subtitle
Bestqualityvideoandbestqualityaudio(merged)+Preferredresolution+Downloadauto-generatedSubtitle
youtube-dl--write-auto-sub-f'bestvideo[height<=1080]+bestaudio/best[height<=1080]'
Bestqualityvideoandbestqualityaudio(merged)+Preferredresolution+Downloadvideocreator’suploadedsubtitle
youtube-dl--write-sub-f'bestvideo[height<=1080]+bestaudio/best[height<=1080]'
Bestqualityvideoandbestqualityaudiomerged+Preferredresolution+DownloadvideoCreator’suploadedspecificlanguage’ssubtitle
youtube-dl--write-sub--sub-langen-f'bestvideo[height<=1080]+bestaudio/best[height<=1080]'
Share
Improvethisanswer
Follow
answeredMay26'21at15:40
RasafIbrahimRasafIbrahim
37155silverbadges44bronzebadges
Addacomment
|
1
Removingthev=...&partfromtheurl,andonlykeepthelist=...part.Themainproblembeingthespecialcharacter&,interpretedbytheshell.
Youcanalsoquoteyour'url'inyourcommand.
Moreinformationhere(forinstance):
https://askubuntu.com/questions/564567/how-to-download-playlist-from-youtube-dl
Share
Improvethisanswer
Follow
editedJan26'18at20:16
answeredJan24'18at12:25
Pac0Pac0
18.3k55goldbadges5757silverbadges7070bronzebadges
Addacomment
|
0
Theeasiestthingtodoistocreateafile.txtfileandpassthelinkurllinkso:
https://www.youtube.com/watch?v=5Lj1BF0Kn8c&list=PL9YFoJnn53xyf9GNZrtiraspAIKc80s1i
makesuretoincludethe-aparameterinterminal:
youtube-dl-afile.txt
Share
Improvethisanswer
Follow
editedDec9'20at11:00
double-beep
4,4471313goldbadges2929silverbadges4040bronzebadges
answeredNov13'20at18:05
chrismahnchrismahn
8911silverbadge22bronzebadges
Addacomment
|
0
Basically,workaroundforthisproblemcouldbesimplereplacing&symbolwithit'sencodedversion%26
ForthosewhoarestrugglingwiththisproblemwhiledoingitthroughPHP(e.g.shell_exec()),solutioncouldbe
str_replace("&","%26",$shell_command);
Share
Improvethisanswer
Follow
answeredNov6'21at1:10
SidSid
3,90433goldbadges2121silverbadges2525bronzebadges
Addacomment
|
Highlyactivequestion.Earn10reputation(notcountingtheassociationbonus)inordertoanswerthisquestion.Thereputationrequirementhelpsprotectthisquestionfromspamandnon-answeractivity.
Nottheansweryou'relookingfor?Browseotherquestionstaggedyoutubeyoutube-dloraskyourownquestion.
TheOverflowBlog
Psychologicalsafetyiscriticalforhigh-performingteams
Usingsyntheticdatatopowermachinelearningwhileprotectinguserprivacy
FeaturedonMeta
We’vemadechangestoourTermsofService&PrivacyPolicy-January2022
Newpostsummarydesignsonsitehomepagesandgreatesthitsnow;everywhere...
Related
2642
HowdoIgetaYouTubevideothumbnailfromtheYouTubeAPI?
260
YouTubeAPItofetchallvideosonachannel
19
Changingnameofthevideowhiledownloadingviayoutube-dl
0
YouTubePlaylistDownload
5
youtube-dldownloadstopsonplaylistwithvideomissing
4
YoutubeDLstartsDownloadingtheWholeplaylistinsteadofjustoneVideo
3
youtube-dl:downloadyoutubevideosinfo.jsoninaplaylistbyignoringvideosspecifiedinarchive.txt
HotNetworkQuestions
HowwouldyouprotectyourselffromtheNegativePlane?
Whyisitthatonlypropplaneshavemixture?
WhatclasseswithrageabilitiescanaSkaldmulti-classinto?
Whowerethemarketforthose"speedupyourcomputer"sharewareapplicationsbackintheday?
DidtheMacintoshOSin1997reallynothavemultitasking?
Suitableladderforreachingstairwellabovecornerstairs
EarlysuccessesofSchwartzdistributiontheory
Aretherehistoricalproblemswithnon-ASCIIidentifiercharactersincode?
Isthe"Dutchreach"standardpracticeintheNetherlands?
Isitpossibletogetmeshvertexcountingeometrynodes?
Canyouwalkindeepwaterwithwaterproofclothing?
WhydidJesususethewords“sonsofthekingdom”inMatthew8:12?
Isvalueofawalletderivedbyiteratingovereveryblockinthechain,scanningeachtransaction?
Whenwasthelasttime,ifever,aSupremeCourtjusticewasappointedwithoutpriorexperienceasajudge?
Isotopethatdecayswhenionized
USjussoliedgecase
Whataretheotherwaysofenergytransferapartfromheatandwork?
Isthereastablewaytostackthese?
Iflightpropagateslikewaves,whycan'tIseearoundcorners?
IsthelatticeoftopologiesaHeytingalgebra?
Howdid455kHzendupbeingacommonlyusedIF(intermediatefrequency)?
AreBlackHolesMilitary&EconomicAssets?
Howwouldanentityautomaticallyknowwhensomeoneisdirectlyobservingit?
WhatStarWarscharactershashadthemosttoys/actionfigures?
morehotquestions
Questionfeed
SubscribetoRSS
Questionfeed
TosubscribetothisRSSfeed,copyandpastethisURLintoyourRSSreader.
Yourprivacy
Byclicking“Acceptallcookies”,youagreeStackExchangecanstorecookiesonyourdeviceanddiscloseinformationinaccordancewithourCookiePolicy.
Acceptallcookies
Customizesettings