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

Use youtube itself for generating video queries #81

Open
davidovski opened this issue Nov 7, 2023 · 4 comments
Open

Use youtube itself for generating video queries #81

davidovski opened this issue Nov 7, 2023 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@davidovski
Copy link

Currently LibreY gets its video results from a configured invidious instance. However I am concerned that most instance maintainers don't update this to point to a different instance, which may cause unecessary extra load on that instance.

Other than the fact that invidious provides a clean API for video search, I don't see any reason why we shouldn't fetch video results from youtube.com directly, as we are already proxying requests to google.

@Ahwxorg
Copy link
Owner

Ahwxorg commented Nov 7, 2023

Honestly just laziness. I don't feel like coding that in... Also Invidious works fine I guess...

@Ahwxorg
Copy link
Owner

Ahwxorg commented Nov 7, 2023

It is a good idea, however.

@codedipper
Copy link

codedipper commented Dec 27, 2023

Extra lazy way: Do what we're doing now, rely on one instance.

Lazy way: Rotate official clearnet Invidious instances.
You can get this list from here and parse the results to remove hidden services.

Proper way: The Invidious API parses directly from this list.

Actual proper way: Just scrape YouTube itself.

Also, https://invidious.snopyta.org appears to redirect to https://redirect.invidious.io/, which requires JavaScript, which thereby makes video results broken, I think.

@Ahwxorg
Copy link
Owner

Ahwxorg commented Dec 28, 2023

yt.ahwx.org is up I guess? Although I'd rather not be responsible for uptime of a huge project as most people will not change the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants