Downloading app
-
hi I am developing my downloading app and i have some problems:
i am using QHttp and i need any ideas to download from mediafire,rapidshare and so on
to download any file i need the url of the file not the downloading like but the user wont know the url for example:
to download this file "http://www.mediafire.com/?jbh8hrd0ad0twdd":http://www.mediafire.com/?jbh8hrd0ad0twdd
the user will need to write this link "http://download1080.mediafire.com/wlkdjdlshtag/jbh8hrd0ad0twdd/1-+alg+intro.pdf":http://download1080.mediafire.com/wlkdjdlshtag/jbh8hrd0ad0twdd/1-+alg+intro.pdf
which is impossible...my code here is:
@http->setHost("download1080.mediafire.com");
http->get("/jcl71jbm8c0g/jbh8hrd0ad0twdd/1-+alg+intro.pdf");@
so i need any idea to convert the download ink into the the file url so that i my app could download it =)...thx in advance ;) -
QHttp is obsolete. It's recommended that you should use "QNetworkAccessManager":http://doc.qt.nokia.com/4.7/qnetworkaccessmanager.html for new code.
-
Won't be easy. Those hosters do it for the very reason to prevent automation.
-
At any rate, I think part of the idea of the of the download services is that they expect you to read the page. You're fighting a model which is designed to thwart automatic downloaders. Which, without downloading the resultant page from the first link and parsing its results to get the second, will be fairly difficult, probably.
-
i think youtube provide a function to det the url ...because many app support youtube download like"http://keepvid.com/":http://keepvid.com/..does anyone know how??