{"id":20621319,"url":"https://github.com/nebularnerd/yt-url-extractor","last_synced_at":"2026-02-07T08:31:19.912Z","repository":{"id":133648633,"uuid":"607724102","full_name":"NebularNerd/YT-URL-Extractor","owner":"NebularNerd","description":"A Tampermonkey (and other *monkey) script to extract YT ID(s) from most YT pages with a single click","archived":false,"fork":false,"pushed_at":"2024-10-07T09:44:08.000Z","size":54,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-26T14:43:59.423Z","etag":null,"topics":["greasemonkey-script","greasemonkey-userscript","tampermonkey","tampermonkey-script","tampermonkey-userscript","violentmonkey-script","violentmonkey-userscript","youtube","youtube-dl","yt-dlp"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NebularNerd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"NebularNerd","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-02-28T14:54:08.000Z","updated_at":"2025-07-18T13:01:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"589e67c2-3ca9-45d7-ad49-12bbdfe5740f","html_url":"https://github.com/NebularNerd/YT-URL-Extractor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NebularNerd/YT-URL-Extractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NebularNerd%2FYT-URL-Extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NebularNerd%2FYT-URL-Extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NebularNerd%2FYT-URL-Extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NebularNerd%2FYT-URL-Extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NebularNerd","download_url":"https://codeload.github.com/NebularNerd/YT-URL-Extractor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NebularNerd%2FYT-URL-Extractor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29190174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["greasemonkey-script","greasemonkey-userscript","tampermonkey","tampermonkey-script","tampermonkey-userscript","violentmonkey-script","violentmonkey-userscript","youtube","youtube-dl","yt-dlp"],"created_at":"2024-11-16T12:17:28.757Z","updated_at":"2026-02-07T08:31:19.888Z","avatar_url":"https://github.com/NebularNerd.png","language":"JavaScript","funding_links":["https://ko-fi.com/NebularNerd","https://ko-fi.com/nebularnerd"],"categories":[],"sub_categories":[],"readme":"# YT-URL-Extractor\nA Tampermonkey (and other *monkey) script to extract YT ID(s) from most YT pages with a single click\n\n## What is this thing?\nI wanted an easy one click solution to grab every YouTube ID from a page, then give me a neat list without duplicates ready for use elsewhere. I also fancied brushing up on my Tampermonkey/Javascript skills so though I would give it a go. I set to work throwing a solution together and ended up with this, it's a fairly neat solution that adds a discrete 📋 button at the top of most pages, clicking it will either copy the current URL if you are watching a video or short, or on a playlist style page you'll get every a list of every URL on the page.\n\n## Features\n- Quick and easy to use\n- Should work with most \u0026ast;monkey variants: Tested/Developed with Chrome Tampermonkey v4.18.1, Also tested on Firefox Greasemonkey 4.11 (from 2021)\n- Auto updates if your \u0026ast;monkey variant supports it\n\n## Sounds great, how do I use it?\n- The easiest way to install this is to click this link:  \n[:floppy_disk: YT-URL-Extractor.user.js](https://github.com/NebularNerd/YT-URL-Extractor/raw/main/YT-URL-Extractor.user.js)  \nmost \u0026ast;monkey's auto install features will then take care of things, this also can be used to manually trigger an update.\n- **OR**, view the [YT-URL-Extractor.user.js](/YT-URL-Extractor.user.js) and then click the `RAW` button, if you wish to check out the code first.\n- **OR**, Download or Copy/Paste the [YT-URL-Extractor.user.js](/YT-URL-Extractor.user.js) into your \u0026ast;monkey, save and activate.  \n \nNext time you vist a supported page (you may need to refresh if you are already on a YT page) you will see a small clipboard icon 📋 next to the mic icon at the top of the page. \n\n![Playlist page](https://user-images.githubusercontent.com/8470449/221897997-c751be58-659b-4584-b0ac-ddbc3275f6fb.jpg)\n  \nGive that a click and a banner will briefly flash to let you know it's done it job.  \n\n![Banner flash](https://user-images.githubusercontent.com/8470449/221898882-82af3aa8-374a-4659-84c8-ca685e53af53.jpg)  \n\nPaste your output wherever you need it, depending on the page there will be two outcomes:\n- On a single video or short page you'll get just the URL from the video you are watching in this style [https://youtu.be/8jMPgvaOXH8](https://youtu.be/8jMPgvaOXH8), I know there is the share button, this saves a couple of clicks.\n- On a playlist page or where multiple videos are diplayed you'll get a nice list like this:  \n  \n  https://youtu.be/UzE1njGyTBw  \n  https://youtu.be/W48MqXVUYFI  \n  https://youtu.be/a8_GYCiYmWI  \n  https://youtu.be/hsyH84UP2Ns  \n  https://youtu.be/Hmh6nGYKCEs  \n  https://youtu.be/0IZP_oX_6Ic  \n  https://youtu.be/8ZKzx1C4-DY  \n  https://youtu.be/2g3m9p35cDo  \n  https://youtu.be/KABSYzPqTTg  \n  https://youtu.be/9ca2K5bJpvU  \n  https://youtu.be/G0XntICXcyA  \n  https://youtu.be/gpxUcIJ1tGs  \n  https://youtu.be/Ei2cD61Je7A  \n  https://youtu.be/SfpUM5Wrh2A  \n  https://youtu.be/quI772XuCpo  \n  https://youtu.be/YioAD0gQQSM  \n  https://youtu.be/H2t7lknrK28  \n  https://youtu.be/4RXdusySjsk  \n  https://youtu.be/Z5ezsReZcxU  \n \n## Limitations\nIf you are on a channels homepage and they have some sort of carousel/spinner thing, you'll only get the ID's for the items you can see, the others are not generated/rendered until you bring them into view. I decided to leave it there after coding it but it's not much use on that page.\n\n## To-do\n- [ ] Code optimisation: Code is fast enough but I'm sure there are a couple of things that could be better\n- [ ] Add clipboard button to individual videos links, quickly grab individual URLs as well as whole page\n- [x] Add auto update\n\n## License\nPublished under the [The Unlicense](/LICENSE)\n- The check current URL code is derived from [resu @ Stackoverflow](https://stackoverflow.com/a/35038669) and is used under their [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) License\n- The handy check clipboard code is by [Mordo95 @ Reddit](https://www.reddit.com/r/userscripts/comments/p7mra9/comment/h9l6p8c/?utm_source=share\u0026utm_medium=web2x\u0026context=3)\n\n## Help fuel my caffine habbit\nIf you fancy buying me a :coffee: to say thanks, please visit my Ko-Fi page by hitting the button below.  \n\n\u003cp class=\"kofi\" align=\"center\"\u003e\n  \u003ca href=\"https://ko-fi.com/nebularnerd\" title=\"Buy me a coffee on ko-fi\"\u003e\u003cimg src=\"/pics/kofi_button_red.webp\" width=45% /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnebularnerd%2Fyt-url-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnebularnerd%2Fyt-url-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnebularnerd%2Fyt-url-extractor/lists"}