dreammis / social-auto-upload

自动化上传视频到社交媒体:抖音、小红书、视频号、tiktok、youtube、bilibili
2.54k stars 437 forks source link

快手平台无法上传,出现错误信息,在调起快手上传页面发现没有动作(选择文件,上传等),停留在主页面上 #58

Closed ecustjanny closed 1 month ago

ecustjanny commented 2 months ago

File "D:\myProject\MyPython\social-auto-upload-main\upload_video_to_kuaishou.py", line 36, in asyncio.run(app.main(), debug=False) File "D:\Program Files (x86)\Python\Python312\Lib\asyncio\runners.py", line 194, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "D:\Program Files (x86)\Python\Python312\Lib\asyncio\runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Program Files (x86)\Python\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "D:\myProject\MyPython\social-auto-upload-main\uploader\ks_uploader\main.py", line 172, in main await self.upload(playwright) File "D:\myProject\MyPython\social-auto-upload-main\uploader\ks_uploader\main.py", line 92, in upload await page.locator("div.vVExjn9O3UQ- input").set_input_files(self.file_path) File "D:\Program Files (x86)\Python\Python312\Lib\site-packages\playwright\async_api_generated.py", line 17011, in set_input_files await self._impl_obj.set_input_files( File "D:\Program Files (x86)\Python\Python312\Lib\site-packages\playwright_impl_locator.py", line 583, in set_input_files return await self._frame.set_input_files( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Program Files (x86)\Python\Python312\Lib\site-packages\playwright_impl_frame.py", line 700, in set_input_files await self._channel.send( File "D:\Program Files (x86)\Python\Python312\Lib\site-packages\playwright_impl_connection.py", line 59, in send return await self._connection.wrap_api_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Program Files (x86)\Python\Python312\Lib\site-packages\playwright_impl_connection.py", line 514, in wrap_api_call raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None playwright._impl._errors.TimeoutError: Locator.set_input_files: Timeout 30000ms exceeded. Call log: waiting for locator("div.vVExjn9O3UQ- input")

dreammis commented 1 month ago

有点晚,在忙其他的。修复了,更新代码