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

Selectively import videos from YouTube #6792

Open
ptork opened this issue Dec 27, 2024 · 2 comments
Open

Selectively import videos from YouTube #6792

ptork opened this issue Dec 27, 2024 · 2 comments
Labels
Status: Waiting for answer Waiting issue author answer

Comments

@ptork
Copy link

ptork commented Dec 27, 2024

Describe the problem to be solved

Looking for guidance.

I' like to selectively import videos from YouTube.

Describe the solution you would like

PeerTubes yt-dlp integration works great if you want to download all future videos. It would be great to be able to monitor and then choose which videos you'd like to download. But I realize this is probably out of scope of the project.

TubeArchivist has these features and they work great. But it doesn't have the great UI and sharing features that PeerTube has.

So I've built a script that periodically imports TubeArchivist videos into PeerTube and then deletes them from TubeArchivist. Works great, solves my problem, best of both worlds.

I think it would be nice if this idea can be integrated into PeerTube so we can piggy back off PeerTube's channel synchronization and import queuing feature.

I'd like to build a plugin where you can set up a channel synchronization with a channel from a website other than YouTube (in this case a self-hosted instance of TubeArchivist) and bypass yt-dlp completely. In the plugin docs and import video handler I couldn't find an appropriate hook to do this.

Could you offer any guidance, whether this is possible with the current source? And if there are changes needed to the source, would you be open to include these features and do you have a rough idea what these changes would be?

I'm a TypeScript dev myself and can do the actual implementation/PR.

@Chocobozzz
Copy link
Owner

Hi,

yt-dlp does support a tubearchivist website?

@Chocobozzz Chocobozzz added the Status: Waiting for answer Waiting issue author answer label Dec 27, 2024
@ptork
Copy link
Author

ptork commented Dec 27, 2024

@Chocobozzz I think you're on to something. It doesn't support tubearchivist out of the box. But you can write custom extractors as plugins. So I could write an extractor for tubearchivist.

Just to be sure, does the channel synchronization feature also use yt-dlp under the hood? So the parsing of channels and playlists and then queuing the imports. If so this should be workable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Waiting for answer Waiting issue author answer
Projects
None yet
Development

No branches or pull requests

2 participants