3 ms·
On that note, sites that don't easily offer copyable links for download annoys me to no end. Most of the time downloading anything, I need it on another machin
by noselasd 12y ago
On that note, sites that don't easily offer copyable links for download annoys me to no end.
Most of the time downloading anything, I need it on another machine, and normally the easiest way is copy/pasting an URL from my local web browser to a remote terminal, and fetch it using wget. In which case an auto redirect to a mirror selector that again auto downloads the item, all handled by javascript, is pretty frustrating.
- Igglyboo 12y agoI noticed this with mega.co.nz and I hate it, they do all the downloading with javascript then start an actual browser download (which is just copying from localstorage to your download directory) which finishes in an instant but I have to remain on the page now.
- TylerE 12y agoWith Mega it's rather unavoidable as the javascript is running the decryption.
- cooper12 12y agoI don't think it would be possible to use curl for mega because it has to locally decrypt the stream first. I do remember using a (now deprecated) python library that wrapped the mega api [0] a while ago, so that might interest you if you want to do everything from the command line. [0] https://github.com/richardasaurus/mega.py https://github.com/richardasaurus/mega.py
- fragmede 12y agoThere's a fix for that! Firefox has: https://addons.mozilla.org/en-US/firefox/addon/cliget/ https://addons.mozilla.org/en-US/firefox/addon/cliget/ and it's sorta built-in on chrome: https://coderwall.com/p/-fdgoq/chrome-developer-tools-adds-copy-as-curl https://coderwall.com/p/-fdgoq/chrome-developer-tools-adds-c...