Skip to content

Replace bookmarked Invidious instances links to YouTube

License

Notifications You must be signed in to change notification settings

ss11mik/UnVidious

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

UnVidious

Replace bookmarked Invidious instances links to YouTube

Invidious instances come and go and so bookmarked links to videos can become unavailable. This script changes all the links to videos on alternative YouTube frontends (not only Invidious) to the original YouTube domain so that a browser plugin, such as Invidition, can choose currently available instance every time.

The script has only one parameter, a JSON file with bookmarks in a format that current Firefox (102) exports.

It basically matches all bookmarks URI with regex http(s){0,1}://.*/watch\?v= and replaces the domain part. It also removes parameters "quality" and "listen=0".

About

Replace bookmarked Invidious instances links to YouTube

Topics

Resources

License

Stars

Watchers

Forks

Languages