http://en.savefrom.net/ 이 사이트에 url 을 넣어서 수동으로 다운로드 하는 형태로 모으고 있습니다. 이 과정을 좀 자동화 시키고 싶은데 이런건 잘 안짜봐서 어떻게 해야할지 감이 안잡이네요 ㅜ
github 에서 youtube download 로 검색하면 소스가 좀 나옵니다.
https://github.com/johnny0614/YoutubeVideoDownload
usage: YoutubeVideoDownload.py [-h] url type
======== 서명 ======= 주거지는 www.indidev.net 입니다.
감사합니다
그러면 이 툴을 사용해서
스크립트화 시키면 되나요?
필요한 url 을 자동으로 모으는 법도 따로 있을까요?
...
유투브에 저작물은 개인 혹은 제작사에 소유물입니다. 개발해서 배포하시면. 문제가 커질 수 있습니다.
---------------------------------------------------------------------------- 젊음'은 모든것을 가능하게 만든다.
매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다. 정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.
각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com
배포용은 아니고 개인수집용입니다.
youtube API 로 뭔가 할 수 있을 것 같기는 한데.. 시간되시면 한 번 살펴 보시고..
그냥 간단히 youtube-dl 패키지 설치하고, playlist 긁어와서 비디오만 추출하고, 그대로 youtube-dl 로..
https://github.com/rg3/youtube-dl/blob/master/README.md
$ cat run.sh #!/bin/bash wget https ://www.youtube.com/playlist?list=PLFgquLnL59anNXuf1M87FT1O169Qt6-Lp -O playlist.html if [ $? -eq 0 ] ; then cat playlist.html | grep -Po 'watch\?v=[^&]+' | uniq > vlist.txt while read -r video; do youtube-dl https ://www.youtube.com/$video; done < vlist.txt fi exit 0;
code 태그를 써도 url 이 href 로 자동 변환되어서 부득이하게 url 중간에 공백 하나 넣었습니다.
$ bash -x run.sh + wget 'https ://www.youtube.com/playlist?list=PLFgquLnL59anNXuf1M87FT1O169Qt6-Lp' -O playlist.html --2015-12-28 14:38:18-- https ://www.youtube.com/playlist?list=PLFgquLnL59anNXuf1M87FT1O169Qt6-Lp Resolving www .youtube.com (www .youtube.com)... 173.194.126.227, 173.194.126.232, 173.194.126.228, ... Connecting to www .youtube.com (www .youtube.com)|173.194.126.227|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘playlist.html’ [ <=> ] 485,690 2.00MB/s in 0.2s 2015-12-28 14:38:24 (2.00 MB/s) - ‘playlist.html’ saved [485690] + '[' 0 -eq 0 ']' + uniq + grep -Po 'watch\?v=[^&]+' + cat playlist.html + read -r video + youtube-dl 'https ://www.youtube.com/watch?v=QjZkpm7_kRk' [youtube] QjZkpm7_kRk: Downloading webpage [youtube] QjZkpm7_kRk: Downloading video info webpage [youtube] QjZkpm7_kRk: Extracting video information [youtube] QjZkpm7_kRk: Downloading DASH manifest WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this. [download] Destination: iKON - 덤앤더머(DUMB&DUMBER) M_V-QjZkpm7_kRk.mp4 [download] 100% of 90.04MiB in 00:10 + read -r video + youtube-dl 'https ://www.youtube.com/watch?v=oIdNdZwg768' [youtube] oIdNdZwg768: Downloading webpage [youtube] oIdNdZwg768: Downloading video info webpage [youtube] oIdNdZwg768: Extracting video information [youtube] oIdNdZwg768: Downloading DASH manifest WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this. [download] Destination: [M_V] 숨바꼭질 (Hide and Seek) - 터보 (TURBO)-oIdNdZwg768.mp4 [download] 100% of 35.96MiB in 00:03 + read -r video + youtube-dl 'https ://www.youtube.com/watch?v=FrG4TEcSuRg' [youtube] FrG4TEcSuRg: Downloading webpage ^C ERROR: Interrupted by user Terminated $ $ ls -al drwxrwxr-x 3 ymir ymir 4096 12월 28 14:39 . drwxr-xr-x 19 ymir ymir 4096 12월 28 14:38 .. -rw-rw-r-- 1 ymir ymir 94414850 12월 25 16:57 iKON - 덤앤더머(DUMB&DUMBER) M_V-QjZkpm7_kRk.mp4 -rw-rw-r-- 1 ymir ymir 485690 12월 28 14:38 playlist.html -rw-rw-r-- 1 ymir ymir 297 12월 28 14:38 run.sh -rw-rw-r-- 1 ymir ymir 2000 12월 28 14:38 vlist.txt -rw-rw-r-- 1 ymir ymir 37711035 12월 24 19:31 [M_V] 숨바꼭질 (Hide and Seek) - 터보 (TURBO)-oIdNdZwg768.mp4
되면 한다! / feel no sorrow, feel no pain, feel no hurt, there's nothing gained.. only love will then remain.. 『 Mizz 』
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
github 에서 youtube download 로
github 에서 youtube download 로 검색하면 소스가 좀 나옵니다.
https://github.com/johnny0614/YoutubeVideoDownload
usage: YoutubeVideoDownload.py [-h] url type
======== 서명 =======
주거지는 www.indidev.net 입니다.
감사합니다
감사합니다
그러면 이 툴을 사용해서
스크립트화 시키면 되나요?
필요한 url 을 자동으로 모으는 법도 따로 있을까요?
구글에 먼저 협조요청. 문의를 해보시기 바랍니다.
...
유투브에 저작물은 개인 혹은 제작사에 소유물입니다.
개발해서 배포하시면. 문제가 커질 수 있습니다.
----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.
매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.
각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com
배포용은 아닙니다
배포용은 아니고 개인수집용입니다.
음 ..
youtube API 로 뭔가 할 수 있을 것 같기는 한데.. 시간되시면 한 번 살펴 보시고..
그냥 간단히 youtube-dl 패키지 설치하고, playlist 긁어와서 비디오만 추출하고, 그대로 youtube-dl 로..
https://github.com/rg3/youtube-dl/blob/master/README.md
code 태그를 써도 url 이 href 로 자동 변환되어서 부득이하게 url 중간에 공백 하나 넣었습니다.
되면 한다! / feel no sorrow, feel no pain, feel no hurt, there's nothing gained.. only love will then remain.. 『 Mizz 』
감사합니다!
감사합니다
댓글 달기