[Feature Request] using Invidious as an alternative to YouTube
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 5.8k
- Forks
- 2.8k
- PR merge metrics
- No merged PRs in 30d
Description
### Is your feature request related to a problem? Please describe.
Because of YouTube banning IP ranges from various VPS services and patching out the Oauth2 method, people are currently unable to play YouTube links through their bots and thus making YouTube inaccessible until there is a workaround provided which while there are some that exist would probably just be a huge hassle for people that just want their bot to work without doing loops and hoops just to get it to work again
### What is your ideal solution to the problem?
However, I really haven't seen anybody suggest so I'll go ahead and say it right now
Id really suggest using Invidious as an alternative to YouTube since it acts as a frontend for YouTube and there are plenty of services that use invidious as a service to play YouTube links without contacting Google/YouTube servers to do so, this also lessens the need to use stuff like IPv6 rotation or POtokens for the bot to function
### How would this feature be used?
1. Users can use a invidious link from any of the instances currently available and then the bot will play the link through that
2. If the link happens to be a normal YouTube link, the bot will then convert the link to an invidious link from one of the instances available
3. If an instance is unavailable at the moment, the bot will switch to the closest instance that is currently available and play the link from there
### Additional Info
Id would also like to mention that invidious has their API readily available for anybody to use right now so if any of the methods do not work anymore, we can at least switch to invidious and we can probably have a smoother experience from there
### Checklist
- [X] I have checked [the documentation](https://jmusicbot.com/) to make sure this feature doesn't already exist
- [X] I have searched for [similar feature requests](https://github.com/jagrosh/MusicBot/labels/enhancement)
- [X] I have confirmed that my requests is **not** on the [list of things that will not be added](https://jmusicbot.com/things-that-wont-be-added)
- [X] I am running the latest version of the bot: 
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not identify files, tests, or entry points. Start by locating the bot's YouTube link handling and playback path, then assess how Invidious URLs, instance selection, and fallback would fit. Done would require a defined implementation scope and tests for direct Invidious links, YouTube conversion, and unavailable instances.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100