Created
August 3, 2022 19:50
-
-
Save gartha1/f96870c4f5a418717604f99f43bff37f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\pythontest\wang-youtube-auto-upload>python onefile-example_douyin.py | |
whether run in view mode False | |
start web page without proxy | |
Traceback (most recent call last): | |
File "C:\pythontest\wang-youtube-auto-upload\onefile-example_douyin.py", line 148, in <module> | |
scheduletopublish_tomorrow() | |
File "C:\pythontest\wang-youtube-auto-upload\onefile-example_douyin.py", line 79, in scheduletopublish_tomorrow | |
asyncio.run(upload.upload( | |
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\runners.py", line 44, in run | |
return loop.run_until_complete(main) | |
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 646, in run_until_complete | |
return future.result() | |
File "C:\pythontest\wang-youtube-auto-upload\ytb_up\douyin.py", line 100, in upload | |
self.browser = await self._start_browser("firefox", **browserLaunchOptionDict) | |
File "C:\pythontest\wang-youtube-auto-upload\ytb_up\douyin.py", line 552, in _start_browser | |
return await self._playwright.firefox.launch(record_video_dir=os.path.abspath('')+os.sep+"screen-recording", **kwargs) | |
TypeError: BrowserType.launch() got an unexpected keyword argument 'record_video_dir' | |
Exception ignored in: <function BaseSubprocessTransport.__del__ at 0x000002930006F520> | |
Traceback (most recent call last): | |
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\base_subprocess.py", line 126, in __del__ | |
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\base_subprocess.py", line 104, in close | |
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\proactor_events.py", line 108, in close | |
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 750, in call_soon | |
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 515, in _check_closed | |
RuntimeError: Event loop is closed | |
C:\pythontest\wang-youtube-auto-upload> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment