Hi,
I was trying to import a feed from youtube and it was constantly giving me a 400 code error. As a last ditch attempt before I gave up I tried removing the space in the URL and it worked fine. Here is the example that DIDNT work...
http://gdata.youtube.com/feeds/api/videos?q=Skydive Spain
and this did work...
http://gdata.youtube.com/feeds/api/videos?q=Skydive%20Spain

Youtube generates the URL in the first option, and me knowing that it should be the second option was able to figure that out but maybe others won't. Is there some sort of checking we can do to make sure that this is automatically cleaned?

Thanks
Will

Comments

wojtha’s picture

Category: bug » task

Thanks for report, but this is not problem of the Feeds Youtube parser since the URL validation check should be done by fetcher, not by parser. This module provides only parser, so it doesn't care where the data is and how to get them.

Maybe we could move it to Feeds itself as a bug or feature request or we could consider to provide Youtube Fetcher, which could do some URL validation.

wojtha’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Status: Active » Postponed