Skip to content

chore(deps): upgrade apilmoji 0.3.1#476

Merged
fllesser merged 1 commit intomasterfrom
deps/apimoji-0.3.1
Feb 26, 2026
Merged

chore(deps): upgrade apilmoji 0.3.1#476
fllesser merged 1 commit intomasterfrom
deps/apimoji-0.3.1

Conversation

@fllesser
Copy link
Owner

No description provided.

@codecov
Copy link

codecov bot commented Feb 26, 2026

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
44 2 42 1
View the top 2 failed test(s) by shortest run time
tests.parsers.test_twitter::test_img
Stack Traces | 0.164s run time
.../nonebot_plugin_parser/download/__init__.py:65: in download_file
    response.raise_for_status()
.venv/lib/python3.14.../site-packages/httpx/_models.py:829: in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
E   httpx.HTTPStatusError: Client error '403 Forbidden' for url 'https://pbs.twimg.com/media/GfVLtIKWEAAC7vS.jpg'
E   For more information check: https://developer.mozilla..../HTTP/Status/403

During handling of the above exception, another exception occurred:
tests/parsers/test_twitter.py:57: in test_img
    await asyncio.gather(*[parse_img(url) for url in urls])
tests/parsers/test_twitter.py:54: in parse_img
    path = await img_content.get_path()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/parsers/data.py:22: in get_path
    self.path_task = await self.path_task
                     ^^^^^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/download/__init__.py:127: in download_img
    return await self.download_file(url, file_name=img_name, ext_headers=ext_headers)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/download/__init__.py:86: in download_file
    raise DownloadException("媒体下载失败")
E   nonebot_plugin_parser.exception.DownloadException: 媒体下载失败
tests.parsers.test_twitter::test_video
Stack Traces | 0.337s run time
.../nonebot_plugin_parser/download/__init__.py:65: in download_file
    response.raise_for_status()
.venv/lib/python3.14.../site-packages/httpx/_models.py:829: in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
E   httpx.HTTPStatusError: Client error '403 Forbidden' for url 'https://pbs.twimg.com/media/GmxZe5AWwAEuoiK.jpg'
E   For more information check: https://developer.mozilla..../HTTP/Status/403

During handling of the above exception, another exception occurred:
tests/parsers/test_twitter.py:31: in test_video
    await asyncio.gather(*[parse_video(url) for url in urls])
tests/parsers/test_twitter.py:28: in parse_video
    cover_path = await video_content.get_cover_path()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/parsers/data.py:51: in get_cover_path
    self.cover = await self.cover
                 ^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/download/__init__.py:127: in download_img
    return await self.download_file(url, file_name=img_name, ext_headers=ext_headers)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/download/__init__.py:86: in download_file
    raise DownloadException("媒体下载失败")
E   nonebot_plugin_parser.exception.DownloadException: 媒体下载失败

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@github-actions
Copy link

github-actions bot commented Feb 26, 2026

类型 PIL 耗时(秒) HTML 耗时(秒) 渲染所用图片总大小(MB) PIL 导出图片大小(MB) HTML 导出图片大小(MB)
微博视频2 0.01090 0.91574 0.01280 0.03541 0.17206
微博视频 0.01546 0.95970 0.01280 0.03432 0.17000
微博纯文2 0.03365 0.95639 0.00605 0.12023 0.28607
微博转发纯文 0.06842 1.07067 0.01382 0.24414 0.40196
微博转发(横图) 0.18337 1.35797 1.26621 0.48412 1.43761
哔哩哔哩动态 0.23724 1.96970 0.01244 0.18458 0.41459
微博转发(竖图) 0.28026 2.01533 1.33334 0.41583 2.48094
微博图集(超过9张) 0.28510 1.17200 1.01620 0.31806 0.68861
微博图集(3张) 0.32773 1.04920 2.73813 0.34359 0.93089
bilibili-read 0.35747 2.36277 0.47975 1.35513 2.58685
微博图集(2张) 0.35919 1.13796 4.88308 0.64458 1.68558
微博图集(4张) 0.39865 1.51759 2.34023 0.72816 1.69757
bilibili-opus 0.48927 2.51639 1.21296 1.35135 2.35157
微博图集(9张) 1.22448 1.84344 10.98936 0.98579 2.37885

@fllesser fllesser merged commit 0cc7bb2 into master Feb 26, 2026
13 of 15 checks passed
@fllesser fllesser deleted the deps/apimoji-0.3.1 branch February 26, 2026 05:38
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

Successfully merging this pull request may close these issues.

1 participant