How to know which network a video belongs to?

Asked

Viewed 419 times

0

How to know which network a video belongs through the youtube api?

  • 1

    What do you mean? What is a video network? In what programming language are you trying to do this? What have you been able to do/get? Please edit the question to provide more details, otherwise no one will be able to help you.

1 answer

4


I can’t tell you if the API has this information but one way to get it is through the meta tag attribution that has the information of which network the channel is part of.

To recover this information using PHP:

$tags = get_meta_tags("http://www.youtube.com/watch?v=_8AZT40gH5E");
echo $network = $tags['attribution']; // Endemol_beyond_Brasil

Source: https://stackoverflow.com/a/17872113/5314295

  • Exactly what I needed! Thank you

  • Mark as response. :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.