master f0d366ff8b86 cached
6 files
1.8 KB
713 tokens
1 requests
Download .txt
Repository: dmn001/youtube_channel_archiver
Branch: master
Commit: f0d366ff8b86
Files: 6
Total size: 1.8 KB

Directory structure:
gitextract_dlyfuhns/

├── download_archive.bat
├── download_archive.sh
├── readme.md
├── yt-dlp-archive.txt
├── yt-dlp-channels.txt
└── yt-dlp.conf

================================================
FILE CONTENTS
================================================

================================================
FILE: download_archive.bat
================================================
yt-dlp --config-location yt-dlp.conf

================================================
FILE: download_archive.sh
================================================
#!/bin/sh
yt-dlp --config-location yt-dlp.conf


================================================
FILE: readme.md
================================================
# yt-dlp config - downloading entire youtube channels for archival

# Readme

This repo contains a config file which makes it easy to download entire youtube channels, and also update them without having to re-download existing videos.

Update 2022-09: It has been a while since [youtube-dl](https://github.com/ytdl-org/youtube-dl) was updated, so I have updated all the commands and config to use the current most popular youtube video downloader: [yt-dlp](https://github.com/yt-dlp/yt-dlp).

# Usage

Edit channel urls in `yt-dlp-channels.txt`.

The empty file `yt-dlp-archive.txt` is used to store downloaded video ids.

## Linux

    chmod +x download_archive.sh

Run using `./download_archive.sh`

## Windows

Run `download_archive.bat`

## Thanks

Thanks to https://www.reddit.com/user/Stephen304 for creating the original config, on the since deleted post: https://www.reddit.com/r/DataHoarder/comments/858ny5/my_youtubedl_config_downloading_entire_channels/

There is an archive of the original post at: https://archive.ph/T4sa2


================================================
FILE: yt-dlp-archive.txt
================================================


================================================
FILE: yt-dlp-channels.txt
================================================
# CodysLab
https://www.youtube.com/channel/UCu6mSoMNzHQiBIOCkHUa2Aw

# Styropyro
https://www.youtube.com/channel/UCJYJgj7rzsn0vdR7fkgjuIA

# Wendover Productions
https://www.youtube.com/channel/UC9RM-iSvTu1uPJb8X5yp3EQ

# Half as Interesting
https://www.youtube.com/channel/UCuCkxoKLYO_EQ2GeFtbM_bw

# LockPickingLawyer
https://www.youtube.com/channel/UCm9K6rby98W8JigLoZOh6FQ


================================================
FILE: yt-dlp.conf
================================================
-i
-o "%(uploader)s (%(uploader_id)s)/%(upload_date)s - %(title)s - (%(duration)ss) [%(resolution)s] [%(id)s].%(ext)s"

# Archive Settings
--download-archive yt-dlp-archive.txt
-a yt-dlp-channels.txt

# Uniform Format
--merge-output-format mkv

# Get All Subs to SRT
--write-sub
--all-subs
--convert-subs srt

# Get metadata
--add-metadata
--write-description
--write-thumbnail

# Debug
# -v
Download .txt
gitextract_dlyfuhns/

├── download_archive.bat
├── download_archive.sh
├── readme.md
├── yt-dlp-archive.txt
├── yt-dlp-channels.txt
└── yt-dlp.conf
Condensed preview — 6 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (2K chars).
[
  {
    "path": "download_archive.bat",
    "chars": 36,
    "preview": "yt-dlp --config-location yt-dlp.conf"
  },
  {
    "path": "download_archive.sh",
    "chars": 47,
    "preview": "#!/bin/sh\nyt-dlp --config-location yt-dlp.conf\n"
  },
  {
    "path": "readme.md",
    "chars": 1037,
    "preview": "# yt-dlp config - downloading entire youtube channels for archival\n\n# Readme\n\nThis repo contains a config file which mak"
  },
  {
    "path": "yt-dlp-archive.txt",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "yt-dlp-channels.txt",
    "chars": 377,
    "preview": "# CodysLab\nhttps://www.youtube.com/channel/UCu6mSoMNzHQiBIOCkHUa2Aw\n\n# Styropyro\nhttps://www.youtube.com/channel/UCJYJgj"
  },
  {
    "path": "yt-dlp.conf",
    "chars": 391,
    "preview": "-i\n-o \"%(uploader)s (%(uploader_id)s)/%(upload_date)s - %(title)s - (%(duration)ss) [%(resolution)s] [%(id)s].%(ext)s\"\n\n"
  }
]

About this extraction

This page contains the full source code of the dmn001/youtube_channel_archiver GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 6 files (1.8 KB), approximately 713 tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!