tommy131 / kuaishouparser Goto Github PK
View Code? Open in Web Editor NEW全网功能最全的快手短视频解析工具
License: Apache License 2.0
全网功能最全的快手短视频解析工具
License: Apache License 2.0
Is your feature request related to a problem? Please describe.
Seems like the live.kuaishou.com has some stability issue (or my IP being silently banned 😢), always ended up getting [OwO/ERROR] > [KuaiModule] 无用户数据 after a few downloads. tried skipped the sensitive user info part and called LIVE_GET_FEEDS directly, the API is not working as well, returning empty data and result 2
Describe the solution you'd like
Possible to leverage on operation visionProfilePhotoList
provided by www.kuaishou.com/graphql instead of relying on live.kuaishou.com API?
Describe alternatives you've considered
N/A
Additional context
N/A
@Tommy131 请问为什么我运行会出错呢 Syntax error: unexpected token '$_'PHP(PHP2014)
--- 问题产生原因# 您的服务器运行环境
--- 服务器环境描述(例如下方) ---
系统: Windows 10
OwO版本: 开发版(v1.0.5-dev)
web环境:
- Nginx 1.18.0
- PHP 7.4
- MySQL 5.7
- ...
[2022-09-23][00:58:38][Console/INFO] > 正在查询......
[2022-09-23][00:58:38][OwOBlogErrorHandler/EMERGENCY] > TypeError: Return value of application\kuai\api\Graphql::getResult() must be an instance of application\kuai\api\Graphql or null, instance of stdClass returned in /root/OwOFrame/application/kuai/api/Graphql.php:149
Stack trace:
#0 /root/OwOFrame/application/kuai/command/KuaiCommand.php(83): application\kuai\api\Graphql->getResult()
#1 /root/OwOFrame/src/owoframe/console/Console.php(116): application\kuai\command\KuaiCommand->execute()
#2 /root/OwOFrame/owo(29): owoframe\console\Console->monitor()
#3 {main}
Originally posted by @iGoogleVip in #8 (comment)
--- 您的问题 ---
如题
--- 错误日志 ---
无
--- 问题产生原因 ---
快手官网已经更新了UI,旧的代码已不兼容。
平台
live
可以成功扫码登录,但获取到的Cookies无法用于数据请求
无, 执行数据请求时的错误代码为0x0003
使用
php owo --login live
扫码之后,再次使用命令php owo [authorId]
会卡在 错误代码0x0003
。
--- 服务器环境描述(例如下方) ---
系统: Windows 10 WorkStation Pro
OwO版本: 开发版(v1.0.3-dev)
web环境:
- Nginx 1.18.0
- PHP 7.4.30
- MySQL 5.7
--- 您的问题 ---
我再将此项目clone到application项目中后,再owoframe目录下运行php owo kuai xxxx提示我command 'kuai' not found.
[2022-06-07][20:01:05][OwOCLI/DEBUG] > Command 'kuai' not found, please use 'php owo help' to check the details
因为没有学习过php相关知识,请问,怎么处理的呢,我的操作哪里除了问题,是否需要将application中的index目录进行替换呢,
辛苦辛苦,多谢
--- 服务器环境描述(例如下方) ---
系统: windows
正在登录到平台: kuaishou.server.web
[2022-09-22][14:21:35][OwOBlogErrorHandler/EMERGENCY] > Error: Call to undefined function owoframe\network\curl_init() in /root/git/OwOFrame/src/owoframe/network/Curl.php:111
Stack trace:
#0 /root/git/OwOFrame/application/kuai/command/KuaiCommand.php(590): owoframe\network\Curl->__construct()
#1 /root/git/OwOFrame/application/kuai/command/KuaiCommand.php(347): application\kuai\command\KuaiCommand->initCurl()
#2 /root/git/OwOFrame/application/kuai/command/KuaiCommand.php(56): application\kuai\command\KuaiCommand->interceptParameters()
#3 /root/git/OwOFrame/src/owoframe/console/Console.php(116): application\kuai\command\KuaiCommand->execute()
#4 /root/git/OwOFrame/owo(29): owoframe\console\Console->monitor()
#5 {main}
--- Please write some to description this bug. ---
I got issue when I tried to download video from kuai. I have logged in to https://www.kuaishou.com and got the cookies, pasted in config.json
--- Put your log or pictrue below ---
[OwOBlogErrorHandler/EMERGENCY] > TypeError: Return value of application\kuai\api\Graphql::getResult() must be an instance of application\kuai\api\Graphql or null, instance of stdClass returned in \application\kuai\api\Graphql.php:149
--- the cause of the bug ---
I ran cmd: php owo kuai 3xymped4j8h8wia
--- Environment description (e.g. below) ---
System: Windows 11
OwO-Version: Development(v1.0.3-dev)
Web Environment:
- Nginx 1.18.0
- PHP 7.4
- MySQL 5.7
- ...
您的功能请求是否与问题有关? 请描述。
kuaishou直播上有些账号有展示直播回放菜单,但是有些账号没有,只能看到直播记录,但是个人感觉服务器测是有保存直播的文件的,我非常想找到解决方法,只要可行的都可以,目前我只有一点点头绪,而且我没什么开发经验.........
描述您想要的解决方案
能够实现功能就心满意足了。
描述您考虑过的替代方案
我尝试了一些土方法,我发现有些直播在结束后的大概半个小时内,会在直播回放显示出来,可能是主播可设置的,在展示出来期间,我能够通过抓包的方式找到m3u8文件,从而大概知道链接的格式,但是大部分直播都是不展示直播回放的,所以我这个土方法实际也是不太可行,主要是获取不到链接的字段值应该要传什么参数值,况且我要找的回放是一两个月以前的(希望服务器还未删除)......我非常想找到解决方案,不知道博主对这个有没有兴趣?我这边可以进一步详细描述...
附加上下文
---在此处添加有关功能请求的任何其他上下文或屏幕截图---
Got stuck by this request https://github.com/Tommy131/KuaishouParser/blob/master/api/User.php#L101 (not returning expected data model), hence I tried to look up the graphql request in live.kuaishou.com, but found that it is not being using at all 🤔
var_dump output:
object(stdClass)#20 (2) {
["result"]=>
int(1)
["message"]=>
string(16) "活动结束啦~"
}
--- Put your log or picture below ---
--- the cause of the bug ---
--- Environment description (e.g. below) ---
System: Windows 10
OwO-Version: latest
Web Environment:
- Nginx 1.18.0
- PHP 7.4
- MySQL 5.7
- ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.