Skip to content

Just like YT Embed Helper. But it uses piped instead of yt_dlp

Notifications You must be signed in to change notification settings

dhuschde/yt-embed-helper-piped

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

YT Embed Helper Piped

Just like YT Embed Helper. But it uses piped instead of yt_dlp

My Server always got the "log in to view this content" error.
That's why I made this new Script.

?vid= defines the Video ID
&format= defines the format you want. You can choose:
video (this is the default, you don't need to specify the format for this)
audio
image

This Script automatically gets the instances from https://piped-instances.kavin.rocks/ and asks each instance until it got its data.

So it will normally ask only one instance. But if that one can't give the data, it will ask the next one.

It also creates cache files. So if you ask for the same Video multiple times in one hour, it will still only ask piped once for that video.
You need to create the Folder "yt-cache" for that to work. The folder needs to be in the same directory as the .php
(also make sure your permissions are set properly. You can use chmod 777 yt-cache/ to set them.)

ToDo

  • Randomize the instance list order to not always ask the same instance.

About

Just like YT Embed Helper. But it uses piped instead of yt_dlp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages