Last active
January 13, 2026 17:03
-
-
Save Lentica/1dd8884bfd81c7b4180f4093c00de374 to your computer and use it in GitHub Desktop.
Get youtube auto-generated, channel's members-only playlist URL, Simple script to get the auto generated members-only video playlist url. Get the link by opening developer window (F12 in chrome)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Get youtube auto-generated, channel's members-only playlist URL | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2024-06-21 | |
| // @description Simple script to get the auto generated members-only video playlist url. Get the link by opening developer window (F12 in chrome). Will only activate when you go into channel page. | |
| // @author Afriza | |
| // @match https://www.youtube.com/channel/* | |
| // @match https://www.youtube.com/@* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
| // @grant none | |
| // ==/UserScript== | |
| (function () { | |
| // 'use strict'; | |
| //console.error=function(){} | |
| //let str=$('link[rel=canonical]').attr('href') | |
| let str = document | |
| .querySelector("link[rel='canonical']") | |
| .getAttribute("href"); | |
| // console.log(str); | |
| let splitted = str.split("/"); | |
| let replaced = splitted[4].replace("UC", "/playlist?list=UUMO"); | |
| let final = "https://www.youtube.com" + replaced; | |
| console.log( | |
| "%c%s%s%c%s", | |
| "color:red; font-weight: bold; font-size: 2em", | |
| "-- Playlist URL: ", | |
| final, | |
| "color:red; font-weight: bold; font-size: 2em", | |
| " --" | |
| ); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment