Monday, June 6, 2011

[YouTube-API] Re: Links in Video Description

Hello Stefan,

This is intentional, albeit confusing, behavior for video entries in
search results feeds. It matches the behavior that you see if you
search for videos on YouTube.com—full URLs aren't displayed in the web
interface there, either.

If you need the full URL for an entry from a search feed, you need to
make note of the video's id and then use that to retrieve the video
entry directly from

http://gdata.youtube.com/feeds/api/videos/VIDEO_ID?v=2

That response should contain the full metadata, including the unedited
description.

Cheers,
-Jeff Posnick, YouTube API Team
~ YouTube is hiring! ~ http://google.com/jobs/workyoutube ~


On May 31, 5:54 am, Stefan Lia <stefan....@gmail.com> wrote:
> I'm trying to base some youtube searches from my application. I retrieve
> some videos and extract their information, such as author, description, an
> url. I then filter out these videos by searching for keywords in the
> description. However, I noticed some strange things happening when dealing
> with URLs
>
> In the description I receive, instead of having a full URL, I get
> youtube.com (insted ofhttp://youtube.com/watch=....)
>
> I can provide a query I am using and the URLs that are not showing up
> correctly if it is allowed.
>
> Can anyone help with this matter please?
>
> Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment