pocket-casts
Download YouTube videos and upload them to Pocket Casts Files for offline viewing. For personal use with content you own or have rights to.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Download YouTube videos and upload them to Pocket Casts Files for offline viewing. For personal use with content you own or have rights to.
How to use
Zainstaluj wymagane narzędzia: yt-dlp (przez uv:
uvx yt-dlp), ffmpeg (apt install ffmpeg), curl (zwykle preinstalowany) oraz jq (apt install jq).Utwórz katalog na dane uwierzytelniające:
mkdir -p ~/.clawdbot/credentials/pocket-castsi ustaw uprawnienia:chmod 700 ~/.clawdbot/credentials/pocket-casts.Dodaj token odświeżania Pocket Casts: otwórz pocketcasts.com w przeglądarce, przejdź do narzędzi deweloperskich, skopiuj token odświeżania i zapisz go w pliku
~/.clawdbot/credentials/pocket-casts/config.jsonw formacie JSON z kluczemrefreshToken. Ustaw uprawnienia:chmod 600 config.json.Dodaj ciasteczka YouTube'a: zainstaluj rozszerzenie "Get cookies.txt LOCALLY", zaloguj się na youtube.com, wyeksportuj ciasteczka i zapisz je w
~/.clawdbot/credentials/pocket-casts/cookies.txt. Ustaw uprawnienia:chmod 600 cookies.txt.Uruchom skill z adresem URL filmu:
~/skills/pocket-casts/scripts/upload.sh "URL_YOUTUBE"lub z niestandardowym tytułem:~/skills/pocket-casts/scripts/upload.sh "URL_YOUTUBE" "Twój Tytuł".