GithubHelp home page GithubHelp logo

No download URL about degoo HOT 5 OPEN

bernd-wechner avatar bernd-wechner commented on July 22, 2024
No download URL

from degoo.

Comments (5)

bernd-wechner avatar bernd-wechner commented on July 22, 2024

Firs thing I do with debugging such a thing is check whether it's doable using Degoo's web app. That sets the standard for me.

If it can't then I'm looking at a Degoo feature/bug/limitation and if worth my while I contact Degoo support. I have found such things and they have responded and fixed them.

If it can, then I watch the download in the browsers Network transaction watcher (usually press F12 in browser, click Network, clear the data and then click Download) I log the whole transaction and then in a text editor format it nicely (I use Atom and it has a lot of beautifiers, usually a JSON beautifier lays it out nicely). That's basically how degoo_get was written ... and so I'm looking for any idiosyncrasies overlooked in the original reverse engineering.

The patch you supplied is puzzling. As it seems to do nothing. Replaces root with relative_root in the join but above relative_root = root - there may be missing context of course (perhaps root changes in the loop).

from degoo.

miikka75 avatar miikka75 commented on July 22, 2024

Patch does something when target_junk contains a string. In this case it contains /mnt and in the first iteration the loop incorrectly adds ID of root (full path with /mnt). Next iteration tries to read ID of relative_root (without /mnt), which doesn't exist in the dict.

I tried downloading the files with web browser and it fails, so perhaps it's a problem at Degoo's end or something went wrong while uploading. Details of the file in web UI shows file size correctly though. Strange thing is that even if I delete the files from Degoo and re-upload them, the same files are missing.

from degoo.

PBehr avatar PBehr commented on July 22, 2024

I had the same issue and was able to trace it back to the wrong "checksum" being created.
The checksum must not contain + or /.
However, I then noticed that if you use Python 3.9 as described in the readme, the checksum is apparently adjusted by the request lib?
So in case you didn't read correctly either try Python 3.9

from degoo.

PBehr avatar PBehr commented on July 22, 2024

ok i have to correct myself. unfortunately the error remains with python 3.9 and i have to correct the checksum manually. Then it works:
Checksum = Checksum.replace("/","_")
Checksum = Checksum.replace("+","-")

I am pretty sure the issues was gone on my first python3.9 setup but now it is there again on another machine.. maybe I should double check

from degoo.

PBehr avatar PBehr commented on July 22, 2024

@bernd-wechner could you maybe have another look at this issues?

from degoo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.