fe80Grau / ytdlp2STRM

A little script to serve Youtube / Twitch / Crunchyroll videos without storage it. Uses yt-dlp HTTP data throught Flask and dynamic URLs. We can use this dynamic URLs to set STRM files.
https://github.com/fe80Grau/ytdlp2STRM
MIT License
173 stars 15 forks source link

ytsearch #8

Closed newerit closed 1 year ago

newerit commented 1 year ago

Hallo i am trying implement this function on this code, you help me

yt-dlp -f 'best' --no-warning --get-url

yt-dlp -f 'best' ytsearch10:[AO VIVO] --no-warning --get-url

and create a @channel_user_name folder before search a kayword on my list file

fe80Grau commented 1 year ago

Hi! I don't understand you, create the folder BEFORE searching for a keyword in the list? what do you want to do exactly? Get the strm of the videos of a specific search and have the channel folders automatically created and instead of put specific channel into channel list, put a word to be searched for?

newerit commented 1 year ago

Hallo!

what I'm trying to do is: "instead" of creating a list of channels in json is to create a list of keywords where I put what I like and the algorithm would create folders with the names of the channels like @simpsons would save the list of videos strm inside and ... it would be beautiful !

newerit commented 1 year ago

you can help me?

fe80Grau commented 1 year ago

sure @newerit , pull last commit. Only need to put a new item with prefix keyword-yourkeyword in plugins/youtube/channel_list.json, It's easy but you can check this in plugins/youtube/channel_list.example.json

newerit commented 1 year ago

Good ... i am testing... PS: the twitch tv not load the miniatures and logos os channels

fe80Grau commented 1 year ago

Perfect, you'll tell me when you can. I have been looking at the Twitch images, for now I have something that resolves it, but it's difficult due to the formats, I have forced the call directly to the Twitch endpoint because yt-dlp doesn't get the correct thumbnails

newerit commented 1 year ago

Hello, good morning.. The ytsearch function is perfect. But I have a problem with datetime.. yt-dlp downloading video with old dates, can I fix this somehow?

fe80Grau commented 1 year ago

without error code or explanation of what you want. i can do nothing.

fe80Grau commented 1 year ago

fixed