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

uploaded_net.sh unable to upload or download #27

Closed
Hugendubelsfranz opened this issue Dec 6, 2015 · 3 comments
Closed

uploaded_net.sh unable to upload or download #27

Hugendubelsfranz opened this issue Dec 6, 2015 · 3 comments

Comments

@Hugendubelsfranz
Copy link

hi,

since yesterday i am unable to upload to uploaded.net oder download from uploaded.net:

uploaded_net: take --auth option from configuration file
Starting upload (uploaded_net): 123.part1.rar
Destination file: 123.part1.rar
parse failed (sed): "/uploadServer =/ s/^.[[:space:]]'([^']).*$/\1/p" (skip 0)
Failed inside uploaded_net_upload(), line 479, uploaded_net.sh
Failed inside uploaded_net_upload() [1]

plowdown: force captcha method (online)
uploaded_net: take --auth option from configuration file
Starting download (uploaded_net): http://ul.to/123456
curl: failed with exit code 56

@Hugendubelsfranz Hugendubelsfranz changed the title uploaded_net.sh unable to upload uploaded_net.sh unable to upload or download Dec 6, 2015
@Drezzler
Copy link

Drezzler commented Dec 6, 2015

Having the same problem here , i am working on a fix though .

@Drezzler
Copy link

Drezzler commented Dec 6, 2015

This is only a hack i guess , as i cant figure out why is grep_http_header_location failing , to fix this issue , in /var/share/plowshare4/mobules/uploaded_net.sh replace

URL=$(curl -I -L "$2" | grep_http_header_location | last_line) || return [ -n "$URL" ] || URL=$2

With

URL=$2

And make sure you are passing all direct urls to plowshare , so any uploaded url you pass to plowshare needs to in the following format http://uploaded.net/file/file_id format , as the above edit removes any url redirect detection .

@mcrapet - may be you can help us out here , with a real fix ?

@Hugendubelsfranz
Copy link
Author

The plugin works again :) Error on uploaded.net side?

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

3 participants