Coder Social home page Coder Social logo

Comments (12)

RockChinQ avatar RockChinQ commented on July 3, 2024 1

网页不再返回这个token 不知道跑到什么地方去了

<script type="text/javascript">
    window.g_qzonetoken = ;
    //seajs,qzfl加载失败
    if(!window.seajs) {
        log('seajsLoadFail');
    }
    if(!window.QZFL) {
        log('qzflLoadFail');
    }
</script>

经测试,qzone相关操作现已不再需要qzone_token,获取qzone_token的方式现已被废弃
目前可以到我的仓库https://github.com/RockChinQ/OpenCamwall 中的QQ空间操作模块https://github.com/RockChinQ/OpenCamwall/blob/master/pkg/qzone/model.py 查看相关接口调用方式

from opqbot.

mcoo avatar mcoo commented on July 3, 2024 1

如果你想使用 python 编写 OPQBot 的插件请使用 botoy
qzone相关的功能待更新,如果你有时间欢迎提交pr

from opqbot.

James4Ever0 avatar James4Ever0 commented on July 3, 2024

好像可以了 自己又改了点代码

go mod init dummy.com/dum
PKGNAME=github.com/mcoo/OPQBot
PKGNAME2=github.com/mcoo/OPQBot/qzone
go get $PKGNAME
go get $PKGNAME2
gopy build -output=bindings_all -vm=python3 $PKGNAME $PKGNAME2

from opqbot.

James4Ever0 avatar James4Ever0 commented on July 3, 2024

但是还是不清楚go里面怎么用

from opqbot.

James4Ever0 avatar James4Ever0 commented on July 3, 2024

这样是过不了编译的

import (
	"fmt"
	"github.com/mcoo/OPQBot"
        "github.com/mcoo/OPQBot/qzone"
)

from opqbot.

James4Ever0 avatar James4Ever0 commented on July 3, 2024

提取qzone token的正则好像不管用了

from opqbot.

James4Ever0 avatar James4Ever0 commented on July 3, 2024

网页不再返回这个token 不知道跑到什么地方去了

<script type="text/javascript">
    window.g_qzonetoken = ;
    //seajs,qzfl加载失败
    if(!window.seajs) {
        log('seajsLoadFail');
    }
    if(!window.QZFL) {
        log('qzflLoadFail');
    }
</script>

from opqbot.

James4Ever0 avatar James4Ever0 commented on July 3, 2024

cookie需要pt4_token p_skey 扫码可以得到

from opqbot.

RockChinQ avatar RockChinQ commented on July 3, 2024

此仓库的发表说说接口调用方式已更新 见 #22

from opqbot.

guohuiyuan avatar guohuiyuan commented on July 3, 2024

https://github.com/FloatTech/AnimeAPI/tree/main/qzone 重写了,可以参考一下

from opqbot.

mcoo avatar mcoo commented on July 3, 2024

https://github.com/FloatTech/AnimeAPI/tree/main/qzone 重写了,可以参考一下

好的,请注意保护下自己的cookie
https://github.com/FloatTech/AnimeAPI/blob/4a200d6330d5cb0983577650cbbafb6b7362b299/qzone/api_test.go#L14

from opqbot.

guohuiyuan avatar guohuiyuan commented on July 3, 2024

from opqbot.

Related Issues (7)

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.