flashdagger / ytdlp-plugins

plugin manager for yt-dlp which enables releases of extractors as separate python package
The Unlicense
44 stars 4 forks source link

Python required to use the plugins ? #1

Closed chrizilla closed 2 years ago

chrizilla commented 2 years ago

I am on Windows and have yt-dlp.exe but don't have Python. I assume, I cannot use your ServusTV and auf1 plugins in this case ?

flashdagger commented 2 years ago

No. Since it is using dynamic patching, it needs the python packages.

flashdagger commented 2 years ago

Videos from auf1.tv you can still download with pure yt-dlp by right-clicking on the video and chosing "Copy the video URL", since the videos are actually Peertube hosted.

chrizilla commented 2 years ago

That's what I thouht, thanks for the confirmation. I will dive into Python then.

Why can't pure yt-dlp download from auf1.tv then with yt-dlp's peertube extractor – or even with the generic extractor, given that the video link seems readily available on the website ?

flashdagger commented 2 years ago

Why can't pure yt-dlp download from auf1.tv then with yt-dlp's peertube extractor – or even with the generic extractor, given that the video link seems readily available on the website ?

Because the video links are hidden in some JS code. The generic extractor is not capable to find them.

chrizilla commented 2 years ago

thanks. and the yt-dlp peertube extractor ?

flashdagger commented 2 years ago

It works like this:

E.g. yt-dlp https://twitter.com/YouTube/status/1479498063949570051 -F finds a YouTube video embedded in a twitter post.

chrizilla commented 2 years ago

Thanks. So in this case yt-dlp doesn't find the video, because there is no auf1 extractor (capable of finding the peertube link) and the generic extractor apparently doesn't find the peertube link, is this correct ?

I guess, if I want to download with yt-dlp, I would have to find the peertube link manually in the html and then feed the peertube link to yt-dlp, so that yt-dlp's peertube extractor handles it, right ?

flashdagger commented 2 years ago

Exactly. As I wrote, you get the PeerTube link by right-clicking on the video in the browser and choosing "Copy the video URL".

chrizilla commented 2 years ago

thanks so much for explaining all that to me. cheers