[GH-ISSUE #234] Option to load cobalt with url query #1542

Closed
opened 2026-04-11 05:56:37 -05:00 by GiteaMirror · 10 comments
Owner

Originally created by @lilitdn on GitHub (Nov 5, 2023).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/234

I'd love to have an option to add a url parameter to the website so that it's already filled in when loading the page, like so:
https://cobalt.tools/?url=https://www.youtube.com/watch?v=jNQXAC9IVRw.
That would make it really easy to make js bookmarklets or userscripts.
Some other nice options could be:

download=true/false  >  to launch the download on page load
mode=auto/audio
Originally created by @lilitdn on GitHub (Nov 5, 2023). Original GitHub issue: https://github.com/imputnet/cobalt/issues/234 I'd love to have an option to add a url parameter to the website so that it's already filled in when loading the page, like so: `https://cobalt.tools/?url=https://www.youtube.com/watch?v=jNQXAC9IVRw`. That would make it really easy to make js bookmarklets or userscripts. Some other nice options could be: ``` download=true/false > to launch the download on page load mode=auto/audio ```
Author
Owner

@wukko commented on GitHub (Nov 5, 2023):

https://cobalt.tools/?u=https://www.youtube.com/watch?v=jNQXAC9IVRw :)

<!-- gh-comment-id:1793763916 --> @wukko commented on GitHub (Nov 5, 2023): https://cobalt.tools/?u=https://www.youtube.com/watch?v=jNQXAC9IVRw :)
Author
Owner

@lilitdn commented on GitHub (Nov 5, 2023):

oh nice! is this documented anywhere? I did not find it after searching for a bit.

<!-- gh-comment-id:1793769247 --> @lilitdn commented on GitHub (Nov 5, 2023): oh nice! is this documented anywhere? I did not find it after searching for a bit.
Author
Owner

@wukko commented on GitHub (Nov 5, 2023):

not really because i kind of suck at writing documentations

<!-- gh-comment-id:1793769558 --> @wukko commented on GitHub (Nov 5, 2023): not really because i kind of suck at writing documentations
Author
Owner

@wukko commented on GitHub (Nov 5, 2023):

i'll try to make a document listing all features in the future though

<!-- gh-comment-id:1793769702 --> @wukko commented on GitHub (Nov 5, 2023): i'll try to make a document listing all features in the future though
Author
Owner

@OutshineIssue commented on GitHub (Jun 4, 2024):

@wukko I'm using this to create a bookmarket, do you think there's a chance to make it so it could start downloading immediately? This is what I'm currently using but I have to do the final click to make it work

javascript:void(open('https://cobalt.tools/?u='+ location.href))

<!-- gh-comment-id:2148556343 --> @OutshineIssue commented on GitHub (Jun 4, 2024): @wukko I'm using this to create a bookmarket, do you think there's a chance to make it so it could start downloading immediately? This is what I'm currently using but I have to do the final click to make it work `javascript:void(open('https://cobalt.tools/?u='+ location.href))`
Author
Owner

@lostdusty commented on GitHub (Jun 4, 2024):

no but you can use the api

<!-- gh-comment-id:2148564284 --> @lostdusty commented on GitHub (Jun 4, 2024): no but you can use the api
Author
Owner

@wukko commented on GitHub (Jun 4, 2024):

start downloading immediately

not possible to do due to browser security restrictions

<!-- gh-comment-id:2148565389 --> @wukko commented on GitHub (Jun 4, 2024): > start downloading immediately not possible to do due to browser security restrictions
Author
Owner

@squeak9 commented on GitHub (Sep 14, 2024):

Any chance it could be even easier and just work with cobalt.tools/https://www.youtube.com/watch?v=jNQXAC9IVRw? That way you could just add cobalt.tools/ in front of any supported url.

<!-- gh-comment-id:2351084794 --> @squeak9 commented on GitHub (Sep 14, 2024): Any chance it could be even easier and just work with `cobalt.tools/https://www.youtube.com/watch?v=jNQXAC9IVRw`? That way you could just add `cobalt.tools/` in front of any supported url.
Author
Owner

@wukko commented on GitHub (Sep 15, 2024):

@squeak9 new version supports links like this: https://cobalt.tools/#https://youtu.be/dQw4w9WgXcQ

(# and then the video link)

<!-- gh-comment-id:2351289505 --> @wukko commented on GitHub (Sep 15, 2024): @squeak9 new version supports links like this: `https://cobalt.tools/#https://youtu.be/dQw4w9WgXcQ` (# and then the video link)
Author
Owner

@squeak9 commented on GitHub (Sep 15, 2024):

Oh, that's a lot simpler to remember! Good to know, thanks! 👍
It would be perfect if it worked with nothing but cobalt.tools/ , that's how other websites like farside.link and archive.today does it.
But if it's a lot more work then I understand 😃

<!-- gh-comment-id:2351454862 --> @squeak9 commented on GitHub (Sep 15, 2024): Oh, that's a lot simpler to remember! Good to know, thanks! 👍 It would be perfect if it worked with nothing but `cobalt.tools/` , that's how other websites like farside.link and archive.today does it. But if it's a lot more work then I understand 😃
Sign in to join this conversation.