Added some instructions on how to use this repository.

This commit is contained in:
David Ball 2024-05-23 21:44:45 -04:00
parent 04c562f592
commit 77b9eb15f1

View File

@ -0,0 +1,44 @@
# Cloning this Repository
You can use git to clone this repository.
`git clone https://gitea.daball.me/No-Moss-3-Carbo-Landfill-Online-Library/no-moss-3-carbo-landfill-library.online.git`
# Installing NPM Application Dependencies
You can use npm to install the dependencies.
`npm install`
# Required: `yt-dlp`
Project: [https://github.com/yt-dlp/yt-dlp](https://github.com/yt-dlp/yt-dlp)
Standalone Binaries: [https://github.com/yt-dlp/yt-dlp#release-files](https://github.com/yt-dlp/yt-dlp#release-files)
Installation: [https://github.com/yt-dlp/yt-dlp/wiki/Installation](https://github.com/yt-dlp/yt-dlp/wiki/Installation)
# Downloading YouTube Archives
You may need to use your web browser to login to YouTube. Once there you can create a `youtube-cookies.txt` file in your
working directory. You can use the `youtube-example-cookies.txt` template here to see what it should look like:
# Netscape HTTP Cookie File
# This file is generated by yt-dlp. Do not edit. I think I might have once needed to create it first in Edge and copy my values from my logged in browser.
.youtube.com TRUE / TRUE ... GPS ...
.youtube.com TRUE / FALSE ... PREF tz=...&f6=...&f7=...&hl=...
.youtube.com TRUE / TRUE ... SOCS ...
.youtube.com TRUE / TRUE ... VISITOR_INFO1_LIVE ...
.youtube.com TRUE / TRUE ... VISITOR_PRIVACY_METADATA ...
.youtube.com TRUE / TRUE ... YSC ...
youtube.com FALSE / FALSE ... APISID .../...
youtube.com FALSE / TRUE ... PREF tz=...&f6=...&f7=...
youtube.com FALSE / TRUE ... SAPISID .../...
youtube.com FALSE / FALSE ... SID ...
youtube.com FALSE / FALSE ... SIDCC ...
youtube.com FALSE / TRUE ... __Secure-1PAPISID .../...
youtube.com FALSE / TRUE ... __Secure-3PAPISID .../...
youtube.com FALSE / FALSE ... _gcl_au ...
You can use the `sync-youtube-videos.cmd` script to download all of the YouTube videos.