GithubHelp home page GithubHelp logo

tommy131 / kuaishouparser Goto Github PK

View Code? Open in Web Editor NEW
91.0 91.0 18.0 2.91 MB

全网功能最全的快手短视频解析工具

License: Apache License 2.0

PHP 100.00%
cli-tools kuaishou kuaishou-api kuaishouvideodownloader kwai php

kuaishouparser's Introduction

Metrics

kuaishouparser's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kuaishouparser's Issues

Possibility of using www.kuaishou.com/graphql over live.kuaishou.com LIVE_GET_FEEDS API

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)

错误日志/截图

uTools_1681139212903

这个错误是如何产生的?

--- 问题产生原因# 您的服务器运行环境

--- 服务器环境描述(例如下方) ---
系统: 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][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)

[BUG] 无法解析最新的快手官网作品

请按照以下格式发布您的Issue。

问题描述: 遇见了什么问题?

--- 您的问题 ---
如题

错误日志/截图:

--- 错误日志 ---

这个错误是如何产生的?

--- 问题产生原因 ---
快手官网已经更新了UI,旧的代码已不兼容。

[BUG] 新功能的登录实现存在问题

请按照以下格式发布您的Issue。

问题描述: 遇见了什么问题?

平台 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

安装时出现的问题

请按照以下格式发布您的Issue。

问题描述: 遇见了什么问题?

--- 您的问题 ---
我再将此项目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}

[Question] How to get cookies?

Please post your issue in the format below.

BUG description: What BUG did you encounter?

--- 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

image

Error log / screenshot:

--- 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

How did this BUG come about?

--- the cause of the bug ---
I ran cmd: php owo kuai 3xymped4j8h8wia

Your server operating environment:

--- 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文件,从而大概知道链接的格式,但是大部分直播都是不展示直播回放的,所以我这个土方法实际也是不太可行,主要是获取不到链接的字段值应该要传什么参数值,况且我要找的回放是一两个月以前的(希望服务器还未删除)......我非常想找到解决方案,不知道博主对这个有没有兴趣?我这边可以进一步详细描述...

附加上下文
---在此处添加有关功能请求的任何其他上下文或屏幕截图---

[Question] readme中写的指令,在实际运行中不支持

问题描述: 遇见了什么问题?

--- 您的问题 ---

错误日志/截图

image

--- 错误日志 ---

这个错误是如何产生的?

--- 问题产生原因# 您的服务器运行环境

--- 服务器环境描述(例如下方) ---
系统: Linux/CentOS 7.x
OwO版本: 开发版(v1.0.3-dev)
web环境:
- Nginx 1.18.0
- PHP 7.4
- MySQL 5.7
- ...

[BUG] live.kuaishou.com not using GraphQL anymore

BUG description: What BUG did you encounter?

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 🤔

Error log / screenshot

image

var_dump output:

object(stdClass)#20 (2) {
  ["result"]=>
  int(1)
  ["message"]=>
  string(16) "活动结束啦~"
}

--- Put your log or picture below ---

How did this BUG come about?

--- the cause of the bug ---

Your server operating environment

--- Environment description (e.g. below) ---
System: Windows 10
OwO-Version: latest
Web Environment:
- Nginx 1.18.0
- PHP 7.4
- MySQL 5.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.