Giter Site home page Giter Site logo

关于分流功能的疑问 about pikapika HOT 6 CLOSED

zhongfly avatar zhongfly commented on August 15, 2024
关于分流功能的疑问

from pikapika.

Comments (6)

zhongfly avatar zhongfly commented on August 15, 2024

分流1 2 3对应的就是请求头里的app-channel=1 2 3

from pikapika.

niuhuan avatar niuhuan commented on August 15, 2024

分流1 2 3对应的就是请求头里的app-channel=1 2 3

我觉得那个header/channel只是是给服务器用的。

毕竟再怎么换header也解决不了网速和网络的的问题。

这几个ip是在官方app更换分流后,抓包抓到的。

from pikapika.

zhongfly avatar zhongfly commented on August 15, 2024

分流1 2 3对应的就是请求头里的app-channel=1 2 3

我觉得那个header/channel只是是给服务器用的。

毕竟再怎么换header也解决不了网速和网络的的问题。

这几个ip是在官方app更换分流后,抓包抓到的。

我认为是是有效果的(官方客户端上的确是有效果的),反而是直接用ip的情况下,我经常出现图片无法显示的问题(有代理的情况下)。
改成无分流才正常了…

from pikapika.

zhongfly avatar zhongfly commented on August 15, 2024

不过我又抓包研究了图片地址,发现不同分流是对应不同图片域名,
例如
分流1 https://storage.w***w***.xyz/static/d02d3540-2a40-4de3-b248-609b751e5244.jpg
分流2 https://s2.p***c****.com/static/d02d3540-2a40-4de3-b248-609b751e5244.jpg
分流3 https://s3.p***c****.com/static/d02d3540-2a40-4de3-b248-609b751e5244.jpg

from pikapika.

zhongfly avatar zhongfly commented on August 15, 2024

请求头上的app-channel的确没用,返回的图片地址是固定的,全靠客户端自己更换图片域名

from pikapika.

niuhuan avatar niuhuan commented on August 15, 2024

我在下载图片的时候,我并没有换域名,而是分别请求了不同的分流地址。只换域名用原网络请求一样被墙或很慢。

from pikapika.

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.