ERROR: Got a malformed response from YouTube API #582

Closed
opened 2026-02-20 23:07:44 -05:00 by deekerman · 5 comments
Owner

Originally created by @aldoah0a on GitHub (Apr 20, 2013).

I got this error while trying to download a playlist.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-A', 'http://www.youtube.com/course?list=EC2F07DBCDCC01493A', '-v']
[debug] youtube-dl version 2013.04.18
[debug] Python version 2.7.3 - Darwin-12.3.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube] PL EC2F07DBCDCC01493A: Downloading page #1
[youtube] PL EC2F07DBCDCC01493A: Downloading page #2
[youtube] PL EC2F07DBCDCC01493A: Downloading page #3
[youtube] PL EC2F07DBCDCC01493A: Downloading page #4
[youtube] PL EC2F07DBCDCC01493A: Downloading page #5
ERROR: Got a malformed response from YouTube API
Traceback (most recent call last):
File "/usr/local/bin/youtube/youtube_dl/init.py", line 502, in _real_main
cwd=os.path.dirname(os.path.abspath(file)))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in init
errread, errwrite)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 20] Not a directory: '/usr/local/bin/youtube/youtube_dl'

Originally created by @aldoah0a on GitHub (Apr 20, 2013). I got this error while trying to download a playlist. [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-A', 'http://www.youtube.com/course?list=EC2F07DBCDCC01493A', '-v'] [debug] youtube-dl version 2013.04.18 [debug] Python version 2.7.3 - Darwin-12.3.0-x86_64-i386-64bit [debug] Proxy map: {} [youtube] PL EC2F07DBCDCC01493A: Downloading page #1 [youtube] PL EC2F07DBCDCC01493A: Downloading page #2 [youtube] PL EC2F07DBCDCC01493A: Downloading page #3 [youtube] PL EC2F07DBCDCC01493A: Downloading page #4 [youtube] PL EC2F07DBCDCC01493A: Downloading page #5 ERROR: Got a malformed response from YouTube API Traceback (most recent call last): File "/usr/local/bin/youtube/youtube_dl/**init**.py", line 502, in _real_main cwd=os.path.dirname(os.path.abspath(__file__))) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in **init** errread, errwrite) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1249, in _execute_child raise child_exception OSError: [Errno 20] Not a directory: '/usr/local/bin/youtube/youtube_dl'
Author
Owner

@jaimeMF commented on GitHub (Apr 20, 2013):

Same as #782, fixed in master. Wait for the next update or install from source.

@jaimeMF commented on GitHub (Apr 20, 2013): Same as #782, fixed in master. Wait for the next update or install from source.
Author
Owner

@aldoah0a commented on GitHub (Apr 21, 2013):

Could not build from source in the same OS.

downgraded to 2013.02.25 until next update.

@aldoah0a commented on GitHub (Apr 21, 2013): Could not build from source in the same OS. downgraded to [2013.02.25](http://youtube-dl.org/downloads/2013.02.25/) until next update.
Author
Owner

@jaimeMF commented on GitHub (Apr 21, 2013):

Why can't you build from source?

@jaimeMF commented on GitHub (Apr 21, 2013): Why can't you build from source?
Author
Owner

@phihag commented on GitHub (Apr 21, 2013):

Sorry, I wasn't aware that the master contained significant fixes. You can now update to 2013.04.21.

@phihag commented on GitHub (Apr 21, 2013): Sorry, I wasn't aware that the master contained significant fixes. You can now update to [2013.04.21](http://youtube-dl.org/downloads/2013.04.21/).
Author
Owner

@aldoah0a commented on GitHub (Apr 21, 2013):

@phihag Thank you for the quick fix !!

Happily running the latest version now 👍 !

@aldoah0a commented on GitHub (Apr 21, 2013): @phihag Thank you for the quick fix !! Happily running the latest version now :+1: !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#582
No description provided.