mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 22:39:42 -05:00
[GH-ISSUE #1281] Download prefilled URLs automatically & document existence of prefill parameters (# and ?u) #3733
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qomarhsn on GitHub (May 27, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1281
describe the feature you'd like to see
I'd like Cobalt to support a simple query parameter so users can pre-fill the download input field via the page URL.
For example, visiting:
…would automatically insert the provided video URL into the input field on the homepage.
This would make it easier for users to quickly download a video without manually pasting the URL every time.
Bonus: Optionally auto-trigger the fetch/download process once the field is populated.
additional context
No response
@elouangrimm commented on GitHub (May 27, 2025):
Would love this, except that the captcha/turnstile would take time and might not auto populate. I think it's just a me problem, but the turnstile takes 30 seconds every time I add a link and it does not let you send until it's successful.
@wukko commented on GitHub (May 28, 2025):
cobalt already supports url prefill via:
the hash is preferred, because it doesn't send an unnecessary request to origin.
however, you also suggested starting the download automatically, which no one has suggested before (iirc, correct me if i'm wrong), so i'll rename the issue to that. it's already implemented in an upcoming release, but still
@wukko commented on GitHub (May 28, 2025):
we should also document the prefill somewhere other than issues, so i'll add that to the issue title too
@qomarhsn commented on GitHub (May 29, 2025):
The auto-starting download feature is working perfectly — thank you for implementing it!
Just a small thing I noticed: when the download starts, the website shows a popup in the top-right corner with the progress. But after the download finishes, the file isn’t saved immediately — I still have to click a button in the popup to save it to my device.
It would be great to have an option for users to choose whether the file should be auto-saved as soon as the download completes, without needing that extra step.
Thanks again for the great update!
@wukko commented on GitHub (May 29, 2025):
unfortunately it's impossible due to user activation timeout, the browser would simply block the downloaded file