Thursday, April 30, 2009

Changes in YouTube RSS format

New changes in YouTube format. Service was not operating for some time, now should be fine.
Let me know if there are any problems with new changes.

Few notes: Seems that YouTube have excluded enclosures from their feeds completely (even for online users). Hopefully it does not mean anything bad for us.

2 comments:

Sidney said...

hi, i've been using our excellent service for a couple of weeks now. although now and then there had been problems with getting the enclosure downloaded, this recent change has broken my downloads completely.

I'm using RSSHub on my Windows Mobile and right now, I can still see the feed item but clicking on the enclosure download button does nothing. Oh, and I have tried the same feed link in the browser (IE and firefox) and surprising it still works.

And one more thing, while trying to resolve my problem, I noticed that the "type" attribute for the enclosure tag reads "video/x-flv" for all the other formats (e.g. PSP, ipod, HD). Is this a bug?

Unknown said...

There is still a problem. If I try to access the video feed from youtube user "ARD" in MP4 HD, then every video will just display a error message from your server. The RSS feed which has been generated can be found here:

http://www.rsshandler.com/converter?channel=http%3A%2F%2Fwww.youtube.com%2Fuser%2FARD&format=22&do=Generate

Clicking on a video generates:

Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 501, in __call__
handler.get(*groups)
File "/base/data/home/apps/worbu/2.335232793481136070/main.py", line 289, in get
tid = getTid(link, self)
File "/base/data/home/apps/worbu/2.335232793481136070/main.py", line 334, in getTid
tid = m.group(1)
AttributeError: 'NoneType' object has no attribute 'group'