catch HTTPError #22

Closed
opened 2026-02-20 22:23:31 -05:00 by deekerman · 6 comments
Owner

Originally created by @dodo on GitHub (Dec 9, 2010).

just got a 404 from youtube but doesn't see it until i printed the plain error in FileDownloader.process_info.

only ERROR: unable to download video (format may not be available) is a little less info i think.

Originally created by @dodo on GitHub (Dec 9, 2010). just got a 404 from youtube but doesn't see it until i printed the plain error in `FileDownloader.process_info`. only `ERROR: unable to download video (format may not be available)` is a little less info i think.
deekerman 2026-02-20 22:23:31 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rg3 commented on GitHub (Dec 9, 2010):

I get the impression youtube-dl has broken completely today due to YouTube changes. I'll have to investigate later when I arrive home.

@rg3 commented on GitHub (Dec 9, 2010): I get the impression youtube-dl has broken completely today due to YouTube changes. I'll have to investigate later when I arrive home.
Author
Owner

@yaplik commented on GitHub (Dec 9, 2010):

Youtube no longer provides www.youtube.com/get_video interface and responds on these requests with HTTP 204 No Content. Native youtube flashplayer gets HTTP 204 code as well.

I fixed YoutubeIE by extracting url from fmt_map variable. Pull request pending (yaplik@7393b943a43543f2e9d1f0656afddd048809ae22).

Also close #35 when closing this ticket.

@yaplik commented on GitHub (Dec 9, 2010): Youtube no longer provides www.youtube.com/get_video interface and responds on these requests with HTTP 204 No Content. Native youtube flashplayer gets HTTP 204 code as well. I fixed YoutubeIE by extracting url from fmt_map variable. Pull request pending (yaplik@7393b943a43543f2e9d1f0656afddd048809ae22). Also close #35 when closing this ticket.
Author
Owner

@rg3 commented on GitHub (Dec 9, 2010):

Fix YoutubeIE after recent YouTube changes (closed by d157d2597a)

@rg3 commented on GitHub (Dec 9, 2010): Fix YoutubeIE after recent YouTube changes (closed by d157d2597a5fe99db60304fe1e89523de78b7981)
Author
Owner

@yaplik commented on GitHub (Dec 9, 2010):

Actually
youtube-dl --format=?? xxxxxx
is not working because it's still using old /get_video interface. Patch incomplete. Reopen.

See yaplik@54a791114075ae4300122303dd34b439c83ae459 for fix.

@yaplik commented on GitHub (Dec 9, 2010): Actually youtube-dl --format=?? xxxxxx is not working because it's still using old /get_video interface. Patch incomplete. Reopen. See yaplik@54a791114075ae4300122303dd34b439c83ae459 for fix.
Author
Owner

@rg3 commented on GitHub (Dec 9, 2010):

I thought nobody would notice that I had to backpedal a bit and retag the release about an hour ago. :)

Check the last commit in my tree.

@rg3 commented on GitHub (Dec 9, 2010): I thought nobody would notice that I had to backpedal a bit and retag the release about an hour ago. :) Check the last commit in my tree.
Author
Owner

@yaplik commented on GitHub (Dec 10, 2010):

Works for me.

@yaplik commented on GitHub (Dec 10, 2010): Works for me.
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#22
No description provided.