Go to file
voussoir 2f5ec40b89 Big: Object-oriented channels & videos, match Etiquette structure.
- Channels and videos are now objects instead of just dictionaries.
- Copied Etiquette's use of cachemanager mixin to cache those objects.
- Copied Etiquette's use of sql_ methods.
- Copied Etiquette's use of namespaced javascript.
- Copied Etiquette's use of config file.
- Redid video_card css to use grid, better on mobile.
- Improved usage of URL parameters with class=merge_class.
- Wrote some actual content on readme.
2020-04-05 18:59:16 -07:00
frontends Big: Object-oriented channels & videos, match Etiquette structure. 2020-04-05 18:59:16 -07:00
utilities Big: Object-oriented channels & videos, match Etiquette structure. 2020-04-05 18:59:16 -07:00
ycdl Big: Object-oriented channels & videos, match Etiquette structure. 2020-04-05 18:59:16 -07:00
README.md Big: Object-oriented channels & videos, match Etiquette structure. 2020-04-05 18:59:16 -07:00
requirements.txt Changes 2018-12-17 19:17:53 -08:00
ycdl_logo.svg Add ycdl_logo.svg. 2020-01-19 10:51:54 -08:00

README.md

Youtube Channel Downloader

YouTubeChannelDownloader creates an SQLite3 database of Youtube channels and their videos, and serves it out of a web server.

YCDL solves three main problems:

Metadata archive

The database acts as a permanent archive of video metadata including title, description, duration, view count, and more. Even if a video or channel is deleted from Youtube, you will still have this information. Perfect for never losing track of unlisted videos, too.

The thumbnails, however, are not stored in the database, but you can use utilities\download_thumbnails.py to download them.

Note: At this time, refreshing a channel in YCDL will update video titles, descriptions, and view counts with their current values. If you refresh a channel after they have changed their video's title or description you will lose the previous value.

Easily watch every video on the channel

When I discover a channel, I like to watch through their videos over the course of weeks or months. Within Youtube's own interface, it becomes difficult to know which videos I've watched and which ones I haven't. Scrolling through all of a channel's videos is tough especially if there are many.

In YCDL, videos start off as pending and you can mark them as ignore or download, so the pending page is always your "to-watch" list.

On my Youtube subscription box, I would often press the "hide" button on videos only to find them come back a few days later, and hiding live broadcasts was never reliable. YCDL makes watching my subscriptions much easier.

Send video IDs to youtube-dl

YCDL does not perform the downloading of videos itself. When you click on the download button, it will create an empty file called xxxxxxxxxxx.ytqueue in the directory specified by the ycdl.json config file. You can send this ID into youtube-dl in your preferred way.

Features

  • Web interface with video embeds
  • "Sub-box" page where newest videos from all channels are listed in order
  • Sort videos by date, duration, views, or random
  • Background thread will refresh channels over time
  • Automark channels as ignore or download

Your API key

You are responsible for your own bot.py file, with a function get_youtube_key, called with no arguments, that returns a Youtube API key.

Screenshots

2020-04-04_15-27-15

2020-04-04_15-29-25

2020-04-04_15-36-05

2020-04-04_15-36-10

2020-04-04_15-40-27

To do list

  • Keep permanent record of titles and descriptions.
  • Progress indicator for channel refresh.
  • Delete channel from web interface.