You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using python3.7
pytube3
ffmpeg binary (ffmpeg-98315-g60d79b1df9)
It downloads and converts first file. But errors out after that.
`$ python3 youtube_playlist_mp3_download.py
Please enter the url of the playlist you wish to download: https://www.youtube.com/playlist?list=PLIO7o3VwD0X_hglBI3zHjZQW6GOJT30Vy
Please enter the filepath of the directory where this script is located:
/Users/nikunj.badjatya/Music/caravaan/
youtube_playlist_mp3_download.py:12: DeprecationWarning: Call to deprecated function parse_links (This function will be removed in the future, please use .video_urls).
links = pl.parse_links()
Downloading Chhod Gaye Balam Mujhe - Barsaat - Lata Mangeshkar Mukesh.mp4...
Converting to mp3....
ffmpeg version N-98315-g60d79b1df9-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
libavutil 56. 55.100 / 56. 55.100
libavcodec 58. 93.100 / 58. 93.100
libavformat 58. 47.100 / 58. 47.100
libavdevice 58. 11.100 / 58. 11.100
libavfilter 7. 86.100 / 7. 86.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/nikunj.badjatya/Music/caravaan/Chhod Gaye Balam Mujhe - Barsaat - Lata Mangeshkar Mukesh.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2019-11-06T16:55:15.000000Z
Duration: 00:04:32.02, start: 0.000000, bitrate: 326 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 480x360 [SAR 1:1 DAR 4:3], 227 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
creation_time : 2019-11-06T16:55:15.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 11/06/2019.
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default)
Metadata:
creation_time : 2019-11-06T16:55:15.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 11/06/2019.
Stream mapping:
Stream #0:1 -> #0:0 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to '/Users/nikunj.badjatya/Music/caravaan/Chhod Gaye Balam Mujhe - Barsaat - Lata Mangeshkar Mukesh.mp3':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
TSSE : Lavf58.47.100
Stream #0:0(und): Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp (default)
Metadata:
creation_time : 2019-11-06T16:55:15.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 11/06/2019.
encoder : Lavc58.93.100 libmp3lame
size= 4251kB time=00:04:32.04 bitrate= 128.0kbits/s speed=27.9x
video:0kB audio:4251kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.007948%
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pytube/extract.py", line 297, in apply_descrambler
for format_item in formats
File "/usr/local/lib/python3.7/site-packages/pytube/extract.py", line 297, in
for format_item in formats
KeyError: 'url'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "youtube_playlist_mp3_download.py", line 38, in
run(pl)
File "youtube_playlist_mp3_download.py", line 16, in run
yt = YouTube(l)
File "/usr/local/lib/python3.7/site-packages/pytube/main.py", line 92, in init
self.descramble()
File "/usr/local/lib/python3.7/site-packages/pytube/main.py", line 132, in descramble
apply_descrambler(self.player_config_args, fmt)
File "/usr/local/lib/python3.7/site-packages/pytube/extract.py", line 301, in apply_descrambler
parse_qs(formats[i]["cipher"]) for i, data in enumerate(formats)
File "/usr/local/lib/python3.7/site-packages/pytube/extract.py", line 301, in
parse_qs(formats[i]["cipher"]) for i, data in enumerate(formats)
KeyError: 'cipher'`
The text was updated successfully, but these errors were encountered:
Using python3.7
pytube3
ffmpeg binary (ffmpeg-98315-g60d79b1df9)
It downloads and converts first file. But errors out after that.
`$ python3 youtube_playlist_mp3_download.py
Please enter the url of the playlist you wish to download: https://www.youtube.com/playlist?list=PLIO7o3VwD0X_hglBI3zHjZQW6GOJT30Vy
Please enter the filepath of the directory where this script is located:
/Users/nikunj.badjatya/Music/caravaan/
youtube_playlist_mp3_download.py:12: DeprecationWarning: Call to deprecated function parse_links (This function will be removed in the future, please use .video_urls).
links = pl.parse_links()
Downloading Chhod Gaye Balam Mujhe - Barsaat - Lata Mangeshkar Mukesh.mp4...
Converting to mp3....
ffmpeg version N-98315-g60d79b1df9-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
libavutil 56. 55.100 / 56. 55.100
libavcodec 58. 93.100 / 58. 93.100
libavformat 58. 47.100 / 58. 47.100
libavdevice 58. 11.100 / 58. 11.100
libavfilter 7. 86.100 / 7. 86.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/nikunj.badjatya/Music/caravaan/Chhod Gaye Balam Mujhe - Barsaat - Lata Mangeshkar Mukesh.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2019-11-06T16:55:15.000000Z
Duration: 00:04:32.02, start: 0.000000, bitrate: 326 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 480x360 [SAR 1:1 DAR 4:3], 227 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
creation_time : 2019-11-06T16:55:15.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 11/06/2019.
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default)
Metadata:
creation_time : 2019-11-06T16:55:15.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 11/06/2019.
Stream mapping:
Stream #0:1 -> #0:0 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to '/Users/nikunj.badjatya/Music/caravaan/Chhod Gaye Balam Mujhe - Barsaat - Lata Mangeshkar Mukesh.mp3':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
TSSE : Lavf58.47.100
Stream #0:0(und): Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp (default)
Metadata:
creation_time : 2019-11-06T16:55:15.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 11/06/2019.
encoder : Lavc58.93.100 libmp3lame
size= 4251kB time=00:04:32.04 bitrate= 128.0kbits/s speed=27.9x
video:0kB audio:4251kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.007948%
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pytube/extract.py", line 297, in apply_descrambler
for format_item in formats
File "/usr/local/lib/python3.7/site-packages/pytube/extract.py", line 297, in
for format_item in formats
KeyError: 'url'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "youtube_playlist_mp3_download.py", line 38, in
run(pl)
File "youtube_playlist_mp3_download.py", line 16, in run
yt = YouTube(l)
File "/usr/local/lib/python3.7/site-packages/pytube/main.py", line 92, in init
self.descramble()
File "/usr/local/lib/python3.7/site-packages/pytube/main.py", line 132, in descramble
apply_descrambler(self.player_config_args, fmt)
File "/usr/local/lib/python3.7/site-packages/pytube/extract.py", line 301, in apply_descrambler
parse_qs(formats[i]["cipher"]) for i, data in enumerate(formats)
File "/usr/local/lib/python3.7/site-packages/pytube/extract.py", line 301, in
parse_qs(formats[i]["cipher"]) for i, data in enumerate(formats)
KeyError: 'cipher'`
The text was updated successfully, but these errors were encountered: