megadown icon indicating copy to clipboard operation
megadown copied to clipboard

error

Open lw3eov opened this issue 4 years ago • 7 comments

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#

lw3eov avatar Apr 15 '20 06:04 lw3eov

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.

pitsi avatar Apr 15 '20 15:04 pitsi

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

lw3eov avatar Apr 16 '20 07:04 lw3eov

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&section=all

pitsi avatar Apr 16 '20 07:04 pitsi

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.

lw3eov avatar Apr 16 '20 07:04 lw3eov

Another duplicate of #26?

sixtyfive avatar May 06 '21 14:05 sixtyfive

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

Letsplaybar avatar Nov 02 '21 14:11 Letsplaybar