megadown
megadown copied to clipboard
error
root@GPU-LINUX:/home/ubuntu/megadown# ./megadown -o prueba https://mega.nz/file/6R0iXKAA#D0KXsuHpDhhRLO20PySTkNg0jfXwJNYbdBuegRVilJI
Reading link metadata...
Oooops, something went bad. EXIT CODE (3)
root@GPU-LINUX:/home/ubuntu/megadown#
It probably has to do with this https://github.com/tonikelope/megabasterd/issues/215
I have not used megadown in months and I can not test it now.
Thanks, I will try that when I get to the PC where megadown in running for me. Here I am at another PC where "sudo apt-get install pv" gives "E: Package 'pv' has no installation candidate". How else can I install pv? I tried the instructions at the pv's developer website but it did not work for me. Thanks. Regards. Marcelo
What version of ubuntu are you on? Have you ever ran apt-get update in the past? Pv is available in the main repo for ubuntu 16.04 and up. https://packages.ubuntu.com/search?keywords=pv&searchon=names&suite=all§ion=all
Ubuntu 18.04.4 LTS. I've just run apt-get update a second before trying to install pv. I think something is not right with the repositories but I am unable to fix it, at least until now.
Another duplicate of #26?
Here is a small script which converts the mega URL from the new to the old format and then puts it into megadown so that you can continue to use the program without much effort each time.
#!/bin/bash
url=${1}
newURL=$(echo $url | sed 's/\#/\!/')
newURL=$(echo $newURL | sed 's/file\//\#\!/')
newURL=$(echo $newURL | sed 's/folder\//\#F\!/')
megadown $newURL