Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加快手视频解析 #291

Merged
merged 1 commit into from
Oct 13, 2023
Merged

添加快手视频解析 #291

merged 1 commit into from
Oct 13, 2023

Conversation

Xuenew
Copy link
Contributor

@Xuenew Xuenew commented Oct 7, 2023

快手视频解析的是视频页面上的播放地址,这个需要did过验证,我看配置文件里有代理,是不是可以考虑把自己页面上的快手cookie 添加进配置文件里,倒是也可以做一套滑块过验证的,会不会多此一举了这样。

@@ -261,6 +278,40 @@
else:
print('该链接为原始链接,无需转换,原始链接为: {}'.format(url))
return url
# elif 'kuaishou.com' in url or 'v.kuaishou.com':
elif 'kuaishou.com' in url:

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization High

The string
kuaishou.com
may be at an arbitrary position in the sanitized URL.
1.https://live.kuaishou.com/u/3xv5uz3ui6iga5w
2.https://v.kuaishou.com/5Ch22V
"""
if 'v.kuaishou.com' in url:

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization High

The string
v.kuaishou.com
may be at an arbitrary position in the sanitized URL.
@Evil0ctal Evil0ctal merged commit cf86d39 into Evil0ctal:main Oct 13, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants