Git Product home page Git Product logo

Comments (7)

fengzhengkeji avatar fengzhengkeji commented on June 14, 2024

一样是这个问题,有没有q群可以讨论下

from xhs.

ReaJason avatar ReaJason commented on June 14, 2024

Discussions,可以来这儿讨论一下

from xhs.

eli-yip avatar eli-yip commented on June 14, 2024

同样遇到这个问题,前天还可以正常使用,今天就会报这个错误。

from xhs.

YoungYo avatar YoungYo commented on June 14, 2024

我也遇到了这个问题

from xhs.

xisuo67 avatar xisuo67 commented on June 14, 2024

@ReaJason 建了个QQ群,521302423,x-s算法更新了,周末爬了两天,讨论一下,一个人感觉很吃力

from xhs.

ReaJason avatar ReaJason commented on June 14, 2024

目前已无解决办法,只能通过浏览器执行 JS 了,0.2.2 版本暴露了 sign 函数可自行实现

import requests
from xhs import XhsClient

cookie = "please get cookie in website"
def sign(uri, data=None, a1=""):
    """You can implement this sign function on your own."""
    res = requests.post("http://127.0.0.1:5000/xhs/sign", json={
        "uri": uri,
        "data": data,
        "a1": a1
    })
    return res.json()

xhs_client = XhsClient(cookie, sign=sign)

from xhs.

YoungYo avatar YoungYo commented on June 14, 2024

用Python执行js也不行了吗?

from xhs.

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.