Postponed
Project:
Feeds: YouTube Parser
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2011 at 15:49 UTC
Updated:
3 Jun 2011 at 01:29 UTC
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
Comment #1
wojtha commentedThanks 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.
Comment #2
wojtha commentedRelated to Feeds issue #723548: Provide better URL validation and error reporting for invalid feed URLs