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. Recommended free, trustable proxy could work with QNetworkProxy
Qt 6.11 is out! See what's new in the release blog

Recommended free, trustable proxy could work with QNetworkProxy

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 3.8k 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.
  • thamT Offline
    thamT Offline
    tham
    wrote on last edited by
    #1

    Are there exist these kind of proxies?
    I try to find some proxy by keywords "free proxy", but none of them is workable

    QStringList const proxy_host{"https://www.kproxy.com/", "https://hide.me/en/proxy",
                                     "https://whoer.net/webproxy"};
    QNetworkProxy proxy;
    proxy.setType(QNetworkProxy::HttpProxy);
    proxy.setHostName(proxy_host[0]);
    proxy.setPort(8080);
    QNetworkProxy::setApplicationProxy(proxy);
    

    What wrong do I commits?Wrong proxy?Wrong settings? etc

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You are likely looking from something like the squid proxy.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • thamT Offline
        thamT Offline
        tham
        wrote on last edited by
        #3

        @SGaist Thanks for the link, unfortunately this do not looks like what I want. What I am trying to do is scraping images searched by Google, Bing and Yahoo, to make the download process more "human like", I want to build up a pool of proxies and change the proxy of QNetworkAccessManager time to time but not building a proxy/server by myself. Do you know any proxy ready to be used?

        ps : project page

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Why exactly that pool of proxies ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          thamT 1 Reply Last reply
          0
          • SGaistS SGaist

            Why exactly that pool of proxies ?

            thamT Offline
            thamT Offline
            tham
            wrote on last edited by tham
            #5

            @SGaist said in Recommended free, trustable proxy could work with QNetworkProxy:

            Why exactly that pool of proxies ?

            Sorry for my ambiguity words, it is just a bunch of proxies ready for me to connect(I named it pool because it is somewhat similar to thread pool).

            What I intent to do(pseudo codes):

            QStringList const proxy_host{"192.168.80.43", "192.143.12.1", ...and so on};
            //......another data
            
            QNetworkProxy proxy(proxy_host[qrand() % proxy_host.size()]);
            

            Like this, I can switch the proxy every 15~30 download request, in this case the server would not treat me as the same users, this should lower the risk of being spotted as a robot.

            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