快手视频地址: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
我是否需要做一些配置才能正常的解析快手的视频?
快手视频地址: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 我是否需要做一些配置才能正常的解析快手的视频?