youtube-sync
Syncs up your youtube or other channels data to the hard drive. A library.json file will be created to track which videos have already been found. It will download any missing files.
Docker Setup
You will need to have config.json embedded at the root of the container. Render.com makes this easy with a secret file.
If you do not have the ability to inject a file at the root, stash your json as a one liner into env variable "YOUTUBE_SYNC_CONFIG_JSON"
Config.json
This configuration holds the rclone configuration as well as the channel setup and destination root. There is no type checking for the rclone section, instead just list the key value pairs as shown below.
{
"output": "dst:Bucket/root/path",
"rclone": {
"dst": {
"type": "b2",
"account": "****",
"key": "****"
}
},
"channels": [
{
"name": "RonGibson",
"source": "brighteon",
"channel_id": "rongibsonchannel"
},
{
"name": "TheDuran",
"source": "youtube",
"channel_id": "@theduran"
}
]
}
In this case the files will be outputted to
- RonGibson -> dst:path/to/RonGibson/brighteon/*
- TheDuran -> dst:path/to/TheDuran/youtube/*
Each output directory will have one library.json file an multiple mp3 files.
PO Token TODO:
- https://github.com/LuanRT/BgUtils
- https://github.com/iv-org/youtube-trusted-session-generator
- docker run -p 8080:8080 quay.io/invidious/youtube-trusted-session-generator:webserver
Metadata
Release files for youtube-sync 1.2.86
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| youtube_sync-1.2.86-py3-none-any.whl | Python 3 | none | any | Details |
Release files / youtube_sync-1.2.86-py3-none-any.whl
| Download URL | youtube_sync-1.2.86-py3-none-any.whl |
|---|---|
| Size | 60.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd94d4ae37b72b917a28228438bbdad5b6b0c6add9d7b078aa40860eb6ded310
|
|
BLAKE2b-256 checksum How to use checksums |
a3a9f0f87a0cfab42beb6501d59e739379c25b4342d64303c6732188a6db61de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|