Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Feature Request: --annotation-source option #19069
Comments
|
While I can understand the reasoning for this being out-of-scope for this project, I would like to point out that this archive provides access to data that previously existed on the official YouTube site until it was removed on January 15. While data is still currently returned from the old endpoint on YouTube, this data now consists of only cards, end screens, and creator logos to be displayed in the corner of the video, not the legacy annotations available from this archive. I feel that this feature should be supported because many people use youtube-dl for archival purposes, and this feature would further that use case. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.01.30.1. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
Description of your issue, suggested solution and other information
YouTube recently removed all old style annotations. An archive (hosted at archive.omar.yt) has sprung up as a replacement. A useful option to have would be to be able to choose between archive.omar.yt and youtube.com as the default annotation source. By default, YouTube should be the source, except for when downloading from dev.invidio.us (when archive.omar.yt should be the default).
Example syntax:
--annotation-source youtubedownloads annotations from YouTube--annotation-source invidiousdownloads annotations from archive.omar.yt--annotation-source https://archive.omar.yt/api/v1/annotations/%(video_id)suses the urlhttps://archive.omar.yt/api/v1/annotations/VIDEO_IDas the annotations file that is downloaded.