[gpodder-devel] [Patch] Bug 1217 - Downloading/Streaming from Youtube

  • From: nlataill at gmail.com (Norbert Lataille)
  • Date: Fri, 10 Dec 2010 23:51:17 +0100

Hi,

Since a few days I am unable to use gpodder on youtube RSS feeds (on 2.10
and GIT): all downloads end up with "Not found" error. As explained in the
bug report, it looks that:

http://www.youtube.com/get_video?

links are no longer working... When sniffing browser behavior, they end up
returning empty data with no header redirect (odd... why is the flash object
still looking for them ?). Instead, the video is downloaded from:

http://tc.v20.cache8.c.youtube.com/videoplayback?

What the patch does is to add few lines to get_real_download_url, in order
to parse fmt_url_map json object sent to Flash. This is a map from fmt to
urls. I kept previous code as a fallback option, but I don't know if this is
really worth it. On my computer gpodder can download youtube videos again
since the patch (from GIT), but this needs to be cross-checked.

Thanks,

Norbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.berlios.de/pipermail/gpodder-devel/attachments/20101210/ec5f7b4a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug1217.diff
Type: text/x-patch
Size: 907 bytes
Desc: not available
URL: 
<https://lists.berlios.de/pipermail/gpodder-devel/attachments/20101210/ec5f7b4a/attachment.bin>

Other related posts: