`f2 wb -c wb.yaml
INFO 应用:weibo
INFO 模式:post
INFO 主配置路径:/Users/zhang/Github_Projects/f2/f2/conf/app.yaml
INFO 自定义配置路径:/Users/zhang/Github_Projects/f2/wb.yaml
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 版本检查 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ 您当前使用的是最新版本:0.0.1.6 │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
INFO 用户ID: 3325704142, 用户昵称: None, 微博数量: None
Traceback (most recent call last):
File "/Users/zhang/Github_Projects/f2/.venv/bin/f2", line 8, in
sys.exit(main())
^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/f2/apps/weibo/cli.py", line 347, in weibo
ctx.invoke(set_cli_config, kwargs)
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/f2/cli/cli_commands.py", line 213, in set_cli_config
asyncio.run(run_app(kwargs))
File "/opt/homebrew/Cellar/python@3.11/3.11.9/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.9/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.9/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/f2/cli/cli_commands.py", line 221, in run_app
await app_module.main(kwargs)
File "/Users/zhang/Github_Projects/f2/f2/apps/weibo/handler.py", line 226, in main
await mode_function_mapmode
File "/Users/zhang/Github_Projects/f2/f2/apps/weibo/handler.py", line 204, in handle_user_weibo
await self.downloader.create_download_tasks(self.kwargs, weibo_data, user_path)
File "/Users/zhang/Github_Projects/f2/f2/apps/weibo/dl.py", line 57, in create_download_tasks
await self.handler_download(kwargs, weibo_data, user_path)
File "/Users/zhang/Github_Projects/f2/f2/apps/weibo/dl.py", line 130, in handler_download
for i, image_url in enumerate(weibo_data_dict.get("pic_infos")):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable`
`f2 wb -c wb.yaml
INFO 应用:weibo
INFO 模式:post
INFO 主配置路径:/Users/zhang/Github_Projects/f2/f2/conf/app.yaml
INFO 自定义配置路径:/Users/zhang/Github_Projects/f2/wb.yaml
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 版本检查 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ 您当前使用的是最新版本:0.0.1.6 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ INFO 用户ID: 3325704142, 用户昵称: None, 微博数量: None
Traceback (most recent call last): File "/Users/zhang/Github_Projects/f2/.venv/bin/f2", line 8, in
sys.exit(main())
^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/f2/apps/weibo/cli.py", line 347, in weibo
ctx.invoke(set_cli_config, kwargs)
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/.venv/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/f2/cli/cli_commands.py", line 213, in set_cli_config
asyncio.run(run_app(kwargs))
File "/opt/homebrew/Cellar/python@3.11/3.11.9/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.9/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.9/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/zhang/Github_Projects/f2/f2/cli/cli_commands.py", line 221, in run_app
await app_module.main(kwargs)
File "/Users/zhang/Github_Projects/f2/f2/apps/weibo/handler.py", line 226, in main
await mode_function_mapmode
File "/Users/zhang/Github_Projects/f2/f2/apps/weibo/handler.py", line 204, in handle_user_weibo
await self.downloader.create_download_tasks(self.kwargs, weibo_data, user_path)
File "/Users/zhang/Github_Projects/f2/f2/apps/weibo/dl.py", line 57, in create_download_tasks
await self.handler_download(kwargs, weibo_data, user_path)
File "/Users/zhang/Github_Projects/f2/f2/apps/weibo/dl.py", line 130, in handler_download
for i, image_url in enumerate(weibo_data_dict.get("pic_infos")):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable`