Giter Club home page Giter Club logo

Comments (5)

Tsuk1ko avatar Tsuk1ko commented on July 27, 2024

如果你需要挂代理才能访问 pixiv,别忘了给 pxder 设置代理,或者启用直连模式

from pxder.

wwc7654321 avatar wwc7654321 commented on July 27, 2024

Thanks,
确实与代理有关,https://127.0.0.1:1080 按说明替换成 socks://127.0.0.1:1080即可下载

不过 https://127.0.0.1:1080 在另一个Python脚本中却可以正常工作,有点怪 (获取到refresh_token,直接填到pxder里用了)

image

from pxder.

Tsuk1ko avatar Tsuk1ko commented on July 27, 2024

看起来你应当使用 http://127.0.0.1:1080,而不是 https

我猜测这段 python 中的这个代理配置实际等效的应该是

proxies = {
  'http': 'http://127.0.0.1:1080',
  'https': 'http://127.0.0.1:1080'
}

即当请求 http / https 时分别使用这些代理,由于你没有写协议,所以默认 http

from pxder.

wwc7654321 avatar wwc7654321 commented on July 27, 2024

你的意思是一个https请求可以经过http代理吗?这真是没想到,

不过仔细想想倒也没什么问题,代理只是提供一个二进制通道

from pxder.

Tsuk1ko avatar Tsuk1ko commented on July 27, 2024

当然是可以的,而且一般代理软件在本地提供的都是 http 和 socks

from pxder.

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.