À¯Åõºê µ¿¿µ»ó ÆÄÀÏ ´Ù¿î·Îµå
# apt-get install youtube-dl
# youtube-dl https://www.youtube.com/watch?v=wKi0OBcBqho
[youtube] Setting language
[youtube] wKi0OBcBqho: Downloading webpage
[youtube] wKi0OBcBqho: Downloading video info webpage
[youtube] wKi0OBcBqho: Extracting video information
[download] Destination: ¿©ÀÚÄ£±¸ÀÇ ¾î´À ¸ÚÁø ³¯ E01 151117 MBC Music-wKi0OBcBqho.mp4
[download] 100% of 845.44MiB in 00:17
# ls -lh
-rw-r--r-- 1 root root 846M 11¿ù 20 02:08 ¿©ÀÚÄ£±¸ÀÇ ¾î´À ¸ÚÁø ³¯ E01 151117 MBC Music-wKi0OBcBqho.mp4
À¯Åõºê µ¿¿µ»ó ÆÄÀÏ mp3 ÆÄÀÏ·Î ´Ù¿î·Îµå
# youtube-dl -t --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=wKi0OBcBqho
[youtube] Setting language
[youtube] wKi0OBcBqho: Downloading webpage
[youtube] wKi0OBcBqho: Downloading video info webpage
[youtube] wKi0OBcBqho: Extracting video information
[download] Destination: ¿©ÀÚÄ£±¸ÀÇ ¾î´À ¸ÚÁø ³¯ E01 151117 MBC Music-wKi0OBcBqho.m4a
[download] 100% of 40.98MiB in 00:00
[avconv] Destination: ¿©ÀÚÄ£±¸ÀÇ ¾î´À ¸ÚÁø ³¯ E01 151117 MBC Music-wKi0OBcBqho.mp3
Deleting original file ¿©ÀÚÄ£±¸ÀÇ ¾î´À ¸ÚÁø ³¯ E01 151117 MBC Music-wKi0OBcBqho.m4a (pass -k to keep)
# ls -lh
-rw-r--r-- 1 root root 33M 11¿ù 20 01:31 ¿©ÀÚÄ£±¸ÀÇ ¾î´À ¸ÚÁø ³¯ E01 151117 MBC Music-wKi0OBcBqho.mp3
µ¿¿µ»ó Ç÷¹À̾î·Î Àç»ý
¡Ø ´Ü, ÀúÀÛ±Ç º¸È£¿äûÀÌ µé¾î°£ ÀÚ·á´Â ´Ù¿î·Îµå°¡ ¸·ÇôÀÖÀ½
root@hl-210-34:~# youtube-dl -t --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=0VKcLPdY9lI
[youtube] Setting language
[youtube] 0VKcLPdY9lI: Downloading webpage
[youtube] 0VKcLPdY9lI: Downloading video info webpage
[youtube] 0VKcLPdY9lI: Extracting video information
[youtube] 0VKcLPdY9lI: Encrypted signatures detected.
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 331, in _extract_signature_function
player_type = id_m.group('ext')
AttributeError: 'NoneType' object has no attribute 'group'
WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 331, in _extract_signature_function
player_type = id_m.group('ext')
AttributeError: 'NoneType' object has no attribute 'group'
...................................
...................................
WARNING: Warning: Falling back to static signature algorithm
ERROR: unable to download video data: HTTP Error 403: Forbidden
Window : http://rg3.github.io/youtube-dl/download.html
Ãß°¡:
- À¥¿¡¼ ´Ù¿î·Îµå http://en.savefrom.net/