Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Youtube] To know if a video is licensed or not (copyright) #22251

Closed
triplesixman opened this issue Aug 29, 2019 · 1 comment
Closed

[Youtube] To know if a video is licensed or not (copyright) #22251

triplesixman opened this issue Aug 29, 2019 · 1 comment

Comments

@triplesixman
Copy link

@triplesixman triplesixman commented Aug 29, 2019

Checklist

  • [* ] I'm reporting a site feature request
  • [* ] I've verified that I'm running youtube-dl version 2019.08.13
  • [* ] I've searched the bugtracker for similar site feature requests including closed ones

Description

Is it possible to know if a youtube video is licensed and if possible to list them?

In fact, I want to use youtube-dl to create a script available to the public, but I want to prevent licensed videos from being downloaded.

Currently, when I do a youtube-dl -J https://www.youtube.com/watch?v=mvSItvjFE1c - it displays "license: null"

However, if you go into the details of the video from a web browser, you have:

Licensed to YouTube by
UMG (on behalf of Aftermath); UNIAO BRASILEIRA DE EDITORAS DE MUSICA - UBEM, UMPG Publishing, Sony ATV Publishing, SOLAR Music Rights Management, Broma 16, LatinAutor - UMPG, CMRRA, AMRA, LatinAutor - SonyATV, LatinAutor, Vydia (Music Publishing), Kobalt Music Publishing, BMI - Broadcast Music Inc. and ASCAP and 14 musical rights management companies

I would like to avoid coding this verification script myself because it will make an additional request to the youtube server. So would it be possible to add this feature in the future?

Thank you.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 29, 2019

If license is null then you can't.

@dstftw dstftw closed this Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.