Monday, March 19, 2012

[YouTube-API] Re: Age-restricted videos forbidden from the API?

Hello,

If you explicitly specify safeSearch=none then the playlist feed will
contain both entries:

http://gdata.youtube.com/feeds/api/playlists/C48DB9C8E2F2627C?v=2&prettyprint=true&safeSearch=none

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Mar 17, 6:54 am, Comentarinformal <tiopalom...@gmail.com> wrote:
> Hi.
> Videos with age restriction, directly, don't appear on feeds. You can see
> it on this feed<http://gdata.youtube.com/feeds/api/playlists/C48DB9C8E2F2627C>,
> from this playlist<http://www.youtube.com/playlist?list=PLC48DB9C8E2F2627C&feature=mh_lolz>.
> The first video is age-restricted, and not a single thing about it appears
> on the feed. (You can see it here, if the other video's feed makes it
> difficult <http://gdata.youtube.com/feeds/api/playlists/4DBEEF76F517EB59>).
>
>
>
>
>
>
>
> On Friday, March 16, 2012 4:26:26 PM UTC+1, Jeffrey Posnick wrote:
>
> > Hello,
>
> >  When using v=2 of the YouTube Data API, the presence of the
> > media:rating tag should indicate that a video is restricted in a
> > certain geographic location:
>
> >https://developers.google.com/youtube/2.0/reference#youtube_data_api_...
>
> >  If you're not seeing that tag when retrieving a specific video id,
> > could you let us know what the video id is?
>
> > Cheers,
> > -Jeff Posnick, YouTube API Team
> > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > @YouTubeDev
>
> > On Mar 13, 7:46 pm, Comentarinformal <tiopalom...@gmail.com> wrote:
> > > I have a script that gets last favorited video's info. The problem comes
> > > when there's an age-restricted video, because it doesn't have any kind
> > of
> > > tag about it, unlike non-embeddable, geo-restricted, state-blocked and
> > > rental ones.
> > > Could there be any kind of tag for those videos?

--
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