YouTube 영상 다운로드는 yt-dlp로

  • Post author:
  • Post category:
  • Post comments:0 Comments
  • Post last modified:December 3, 2023

누가 임시로 올려준 영상을 다운로드 받느라 ytdl-org/youtube-dl 을 이용하는데 1 기가 남짓한 파일 하나에 4시간이 걸렸다. 다운로드 옵션을 잘못 줘서 다시 다운로드 받아야 하니 환장할 노릇이다. 초당 60킬로바이트라니 우리 집의 평균 다운로드 속도 550 Mbps에 비하면 터무니없다. 뭐가 문제일까 싶어 검색했더니만!

youtube.com downloads with youtube-dl are slow lately : youtubedl 에 비슷한 문제를 호소하는 사람이 많더라. 여러 사람의 조언에 따라 yt-dlp/yt-dlp A youtube-dl fork with additional features and fixes로 바꿨더니 오호라~ 순식간에 다운로드 받았다. youtube-dl 은 뭐가 문제일까? 구현을 잘못한 걸까? 이렇게 유튜브 영상을 다운로드 받을 일이 일년에 한번 있을까 말까 하니 자세히 알아보진 않았다. 하지만 참 아쉽네. youtube-dl 은 yt-dlp 에 비해 Star를 8배나 많이 받은 유명한 프로젝트인데 말이다.

brew install yt-dlp/taps/yt-dlp

yt-dlp https://www.youtube.com/watch\?v\=TES

비공개 영상 다운로드

yt-dlp --cookies-from-browser firefox https://www.youtube.com/watch\?v\=TEST

yt-dlp --help 를 쳐서 지원 브라우저를 확인하면 된다.

yt-dlp  --help|grep -A 3 -B 3 firefox
                                     Load cookies from a user profile of the
                                     given web browser. Currently supported
                                     browsers are: brave, chrome, chromium,
                                     edge, firefox, opera, safari, vivaldi. You
                                     can specify the user profile name or
                                     directory using "BROWSER:PROFILE_NAME" or
                                     "BROWSER:PROFILE_PATH". If no profile is

Author Details
Kubernetes, DevSecOps, AWS, 클라우드 보안, 클라우드 비용관리, SaaS 의 활용과 내재화 등 소프트웨어 개발 전반에 도움이 필요하다면 도움을 요청하세요. 지인이라면 가볍게 도와드리겠습니다. 전문적인 도움이 필요하다면 저의 현업에 방해가 되지 않는 선에서 협의가능합니다.
0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments