Giter Club home page Giter Club logo

Comments (6)

GammaC0de avatar GammaC0de commented on May 13, 2024 1

@clst Wow, you get the most ancient issue bringer award 🌷

from pyload.

RaNaN avatar RaNaN commented on May 13, 2024

It works without modification, when you enter your proxy address with protocol prefix according to libcurl documentation:

Since 7.21.7, the proxy string may be specified with a protocol:// prefix to specify alternative proxy protocols.
Use socks4://, socks4a://, socks5:// or socks5h:// (the last one to enable socks5 and asking the proxy to do the resolving, also known as CURLPROXY_SOCKS5_HOSTNAME type) to request the specific SOCKS version to be used.
No protocol specified, http:// and all others will be treated as HTTP proxies.

I probably add a config option to make it more explicit later.

from pyload.

andreasgerstmayr avatar andreasgerstmayr commented on May 13, 2024

Ok, in this case a little info about this would be great ;-). I guess I've never seen a proxy hostname with a protocol prefix before.

This also makes the proxy type option obsolete.

from pyload.

stale avatar stale commented on May 13, 2024

This ticket has been automatically marked as inactive because 90 days have passed since the last comment.
It will be closed in 7 days if no further activity occurs.
If this issue still requires attention, please leave a comment.

from pyload.

stale avatar stale commented on May 13, 2024

This ticket has been automatically closed.
This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable.
Feel free to open a new issue if you deem it appropriate. Don't forget to reference this to the new one.
Thanks for your contributions.

from pyload.

clst avatar clst commented on May 13, 2024

I just ran into this.
It's an easy fix. Just change module\network\HTTPRequest.py

127:                 self.c.setopt(pycurl.PROXYTYPE, pycurl.PROXYTYPE_SOCKS5)

to

127:                 self.c.setopt(pycurl.PROXYTYPE, pycurl.PROXYTYPE_SOCKS5_HOSTNAME)

from pyload.

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.