Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Downloading app

Downloading app

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ahmed kato
    wrote on last edited by
    #1

    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 ;)

    Ahmed Kato
    Computer & communications student
    Intern and MSP at Microsoft

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      QHttp is obsolete. It's recommended that you should use "QNetworkAccessManager":http://doc.qt.nokia.com/4.7/qnetworkaccessmanager.html for new code.

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        loladiro
        wrote on last edited by
        #3

        Won't be easy. Those hosters do it for the very reason to prevent automation.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mlong
          wrote on last edited by
          #4

          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.

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            ahmed kato
            wrote on last edited by
            #5

            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??

            Ahmed Kato
            Computer & communications student
            Intern and MSP at Microsoft

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved