Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube Audio Feed #845

Open
captn3m0 opened this issue Sep 23, 2018 · 8 comments
Open

Youtube Audio Feed #845

captn3m0 opened this issue Sep 23, 2018 · 8 comments
Labels
Bridge-Feature-Request Request for a new bridge feature

Comments

@captn3m0
Copy link
Contributor

I found https://github.com/frou/yt2pod recently, which looks like a neat solution (Youtube based RSS feeds that work for podcast readers and send only the audio files). I'm not sure how feasible it is without the Youtube-API or youtube-dl and in PHP, but might be worth considering.

/cc @frou

@frou
Copy link

frou commented Sep 23, 2018

Hi there - Indeed, I don't think it would be technically possible to subsume yt2pod in rss-bridge. But you can certainly use the code as reference material to do the same thing if you want to.

There is apparently an official PHP API client for YouTube, though I'm not sure if the rant in the rss-bridge README means that you prefer scraping, or just that the end-user shouldn't have to care about APIs.

@captn3m0
Copy link
Contributor Author

rss-bridge prefers scraping, but I'm not sure if that is a good idea without marking youtube-dl as a dependency.

@logmanoriginal
Copy link
Member

You can find an API based YouTubeBridge on the Wiki:
https://github.com/RSS-Bridge/rss-bridge/wiki/Extended-Bridges

The bridge probably isn't up to date, as I shifted back to the original bridge for simplicity, but it should generally work.

There is apparently an official PHP API client for YouTube, though I'm not sure if the rant in the rss-bridge README means that you prefer scraping, or just that the end-user shouldn't have to care about APIs.

Scraping is the prefered way because it doesn't involve signing contracts or having to look out for traffic use. Also, API keys are tracked and can be revoked at any moment. That being said, there are already a few bridges utilizing APIs (just search for "API" in the bridges folder).

I'm not sure if that is a good idea without marking youtube-dl as a dependency.

As far as I can tell, youtube-dl is utilized to download and extract the audio files from YouTube. We can just skip that part and provide links to the destination. The necessary link is actually part of the DOM, just search for "audio" on any video on YouTube.

@logmanoriginal logmanoriginal added the Bridge-Feature-Request Request for a new bridge feature label Sep 26, 2018
@somini
Copy link
Contributor

somini commented Apr 12, 2020

See #1508

@dvikan dvikan closed this as completed Mar 26, 2022
@dvikan
Copy link
Contributor

dvikan commented Mar 27, 2022

Okay so this is a request for transforming youtube feeds to podcast feeds. Consumable by podcast software?

@dvikan dvikan reopened this Mar 27, 2022
@somini
Copy link
Contributor

somini commented Mar 27, 2022

yt-dlp is the current generic video downloader thingy, it supports -x to automatically use ffmpeg to extract audio.

That's a Python project though, not a simple thing to integrate. Maybe https://github.com/frou/yt2pod is a better fit for this.

@frou
Copy link

frou commented Mar 27, 2022

yt-dlp is the current generic video downloader thingy, it supports -x to automatically use ffmpeg to extract audio.

That's a Python project though, not a simple thing to integrate. Maybe https://github.com/frou/yt2pod is a better fit for this.

yt2pod calls out to the yt-dlp command at runtime :)

BTW m4a audio files are one of the many formats that can be downloaded, so the big video files do not necessarily need to be downloaded at all.

@dvikan
Copy link
Contributor

dvikan commented Sep 12, 2023

this is still relevant. rss-bridge could download and cache the audio files. big change though since it should be done async.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bridge-Feature-Request Request for a new bridge feature
Projects
None yet
Development

No branches or pull requests

5 participants