https://github.com/Owez/yark Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + For + Enterprise + Teams + Startups + Education + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} Owez / yark Public * Notifications * Fork 5 * Star 306 YouTube archiving made simple pypi.org/project/yark/ License MIT license 306 stars 5 forks Star Notifications * Code * Issues 6 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights Owez/yark This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 2 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/O] Use Git or checkout with SVN using the web URL. [gh repo clone Owez/y] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @Owez Owez Moved commit to be 1 always at end (#48) ... 676074e Jan 5, 2023 Moved commit to be 1 always at end (#48) 676074e Git stats * 104 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time examples Add channel-specific link on navbar (#46) Jan 5, 2023 yark Moved commit to be 1 always at end (#48) Jan 5, 2023 .gitignore Note creation route Sep 1, 2022 LICENSE Switched to poetry Aug 20, 2022 README.md Split files up for resturcture (#43) Jan 5, 2023 poetry.lock Split files up for resturcture (#43) Jan 5, 2023 pyproject.toml Split files up for resturcture (#43) Jan 5, 2023 View code Yark Installation Managing your Archive Viewing your Archive Details Archive Format README.md Yark YouTube archiving made simple. Installation * Managing your Archive * Viewing your Archive Yark lets you continuously archive all videos and metadata for YouTube channels. You can also view your archive as a seamless offline website Installation To install Yark, simply download Python 3.9+ and run the following: $ pip3 install yark Managing your Archive Once you've installed Yark, think of a name for your archive and copy the target's url: $ yark new owez https://www.youtube.com/channel/UCSMdm6bUYIBN0KfS2CVuEPA Now that you've created the archive, you can tell Yark to download all videos and metadata using the refresh command: $ yark refresh owez Once everything has been downloaded, Yark will automatically give you a status report of what's changed since the last refresh: Report Demo Viewing your Archive Viewing you archive is easy, just type view with your archives name: $ yark view owez This will pop up an offline website in your browser letting you watch all videos Viewer Demo Under each video is a rich history report filled with timelines and graphs, as well as a noting feature which lets you add timestamped and permalinked comments Viewer Demo - Stats Light and dark modes are both available and automatically apply based on the system's theme. Details Here are some things to keep in mind when using Yark; the good and the bad: * Don't create a new archive again if you just want to update it, Yark accumulates all new metadata for you via timestamps * Feel free to suggest new features via the issues tab on this repository * Scheduling isn't a feature just yet, please use cron or something similar! Archive Format The archive format itself is simple and consists of a directory-based structure with a core metadata file and all thumbnail/video data in their own directories as typical files: * [name]/ - Your self-contained archive + yark.json - Archive file with all metadata + yark.bak - Backup archive file to protect against data damage + videos/ - Directory containing all known videos o [id].mp4 - Files containing video data for YouTube videos + thumbnails/ - Directory containing all known thumbnails o [hash].png - Files containing thumbnails with it's BLAKE2 hash It's best to take a few minutes to familiarize yourself with your archive by looking at files which look interesting to you in it, everything is quite readable. About YouTube archiving made simple pypi.org/project/yark/ Topics osint youtube-dl archive Resources Readme License MIT license Stars 306 stars Watchers 4 watching Forks 5 forks Releases 2 Yark 1.2 Latest Jan 5, 2023 + 1 release Languages * Python 68.2% * HTML 31.8% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.