Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #24

Open
lw3eov opened this issue Apr 15, 2020 · 7 comments
Open

error #24

lw3eov opened this issue Apr 15, 2020 · 7 comments

Comments

@lw3eov
Copy link

lw3eov commented Apr 15, 2020

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#

@pitsi
Copy link

pitsi commented Apr 15, 2020

It probably has to do with this
tonikelope/megabasterd#215

I have not used megadown in months and I can not test it now.

@lw3eov
Copy link
Author

lw3eov commented Apr 16, 2020

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

@pitsi
Copy link

pitsi commented Apr 16, 2020

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

@lw3eov
Copy link
Author

lw3eov commented Apr 16, 2020

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.

@sixtyfive
Copy link

Another duplicate of #26?

@Letsplaybar
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@sixtyfive @pitsi @Letsplaybar @lw3eov and others