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

解析快手视频错误 #124

Open
john9405 opened this issue Jul 31, 2024 · 0 comments
Open

解析快手视频错误 #124

john9405 opened this issue Jul 31, 2024 · 0 comments

Comments

@john9405
Copy link

john9405 commented Jul 31, 2024

快手视频地址:https://v.kuaishou.com/OSuHs3
错误信息:
[INFO][2024-07-31 17:22:17,793][controller.py:31]get kuaishou video info ==> https://v.kuaishou.com/OSuHs3.
Internal Server Error: /video/info
Traceback (most recent call last):
File "/home/x/stealer/.env/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/home/x/stealer/.env/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/x/stealer/route/controller.py", line 34, in get_info
result = service.get_info(url)
File "/home/x/stealer/service/kuaishou.py", line 103, in get_info
photo_id = re.findall(r'(?<=photo/)\w+', redirect_url)[0]
IndexError: list index out of range
[ERROR][2024-07-31 17:22:18,257][log.py:241]Internal Server Error: /video/info
Traceback (most recent call last):
File "/home/x/stealer/.env/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/home/x/stealer/.env/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/x/stealer/route/controller.py", line 34, in get_info
result = service.get_info(url)
File "/home/x/stealer/service/kuaishou.py", line 103, in get_info
photo_id = re.findall(r'(?<=photo/)\w+', redirect_url)[0]
IndexError: list index out of range
我是否需要做一些配置才能正常的解析快手的视频?

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

No branches or pull requests

1 participant