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

Is the --write-annotations option working as intended? #23973

Closed
libransser opened this issue Feb 6, 2020 · 3 comments
Closed

Is the --write-annotations option working as intended? #23973

libransser opened this issue Feb 6, 2020 · 3 comments
Labels

Comments

@libransser
Copy link

@libransser libransser commented Feb 6, 2020

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

Hi, I'm downloading some YouTube videos to archive them and I'm wondering if the --write-annotations option is working as intended. For example, if you visit the following YouTube video in a browser using the desktop version of the site you can see an icon in the top right corner of the video, it's a letter "i" in a circle:

https://www.youtube.com/watch?v=l9CI6KSV560

If you click on that icon, a list of links appears. For this particular video it contains a link to another video of the same channel, two playlists of the same channel, and a link to another channel. If I open the Settings menu in the video (the gear icon) and turn the switch "Annotations" off then the icon disappears, telling me that those are the annotations.

However, whenever I use the --write-annotations option the resulting file written (extension annotations.xml) doesn't include any of the links that appear in that icon. I have downloaded close to 1,000 videos and none of the annotations.xml files include any additional links.

Is this really working as expected? Does the --write-annotations option actually refer to the deprecated YouTube annotations? Or I'm missing something? If so, how can I download those links?

I'm using the latest version of youtube-dl, the 2020.01.24 version, and for a large portion of the videos already downloaded I also used the previous version to that one.

@libransser libransser added the question label Feb 6, 2020
@remitamine
Copy link
Collaborator

@remitamine remitamine commented Feb 6, 2020

those are video cards and not part of the annotations file.

@remitamine remitamine closed this Feb 6, 2020
@remitamine remitamine added the invalid label Feb 6, 2020
@libransser
Copy link
Author

@libransser libransser commented Feb 6, 2020

I see. Is there any way to download video cards then?

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Feb 6, 2020

no, Youtube does not offer a URL to download cards, but you can extract the information about the cards from player_response on the video page(you have to write your own script).

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.