41 lines
1.1 KiB
Markdown
41 lines
1.1 KiB
Markdown
# yt2podcast
|
|
|
|
## Automation
|
|
|
|
## API Approach
|
|
- paste URL into web UI
|
|
- trigger download via youtube dl Material API
|
|
- upload downloaded file via PodcastGenerator
|
|
- https://podcasts.swaghausen.de/admin/episodes_upload.php
|
|
- PHP SessId
|
|
|
|
## File based approach
|
|
- paste URL into web UI
|
|
- trigger download via youtube-dl python library
|
|
|
|
### Using Podcast Generator
|
|
- downloaded file is copied to Podcast generator folder / folder is mounted as docker volume
|
|
- script to Edit Feed.xml and create xml associated with mp3
|
|
|
|
### Use Python Library to generate RSS Feed
|
|
https://github.com/lkiesow/python-feedgen
|
|
- Serve xml file via same Flask app?
|
|
2 buttons:
|
|
- Copy podcast link to clipboard
|
|
- open podcast.xml
|
|
|
|
admin
|
|
test123
|
|
|
|
## youtube dl api
|
|
https://youtubedl-material.stoplight.io/docs/youtubedl-material/YXBpOjE2NDIyMjY-youtube-dl-material-api-docs-official
|
|
|
|
1fea29eb-bc17-4101-9c7e-75a3d27f08e1
|
|
|
|
## Update Docker Services
|
|
- https://hub.docker.com/r/tzahi12345/youtubedl-material/tags
|
|
- https://github.com/PodcastGenerator/PodcastGenerator/releases
|
|
|
|
ToDos:
|
|
- introduce proper Logging
|
|
- |