nonebot-plugin-splatoon3-schedule 2.0.1__tar.gz → 2.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/PKG-INFO +2 -2
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/utils/utils.py +3 -3
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/pyproject.toml +2 -2
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/LICENSE +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/README.md +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/__init__.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/check.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/config.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/data/__init__.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/data/data_source.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/data/db_control.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/data/db_image.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/data/static_data_getter.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/image/__init__.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/image/image.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/image/image_processer.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/image/image_processer_tools.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/10024.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/10025.ico +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/10026.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/AREA.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/CLAM.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/Cohozuna.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/GOAL.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/Horrorboros.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/LOFT.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/Megalodontia.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/Random.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/Ranked-Challenge.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/Ranked-Open.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/Ranked.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/Regular.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/TURF_WAR.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/Triumvirate.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/X.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/bg.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/bg2.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/bg3.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/big_run.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/black-texture.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/cat_paw_mask.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/coop.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/coop_bg2.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/coop_fish.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/coop_mask.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/event_bg.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/festival_mask.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/fight_mask.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/filleted_corner.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/private.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/swim_ring.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/team_coop.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/ImageData/time_head_bg.png +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/db/image.db +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/font/Splatfont1.otf +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/font/Splatfont2.otf +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/font/cn.ttf +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/resource/font/common.otf +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/util.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/utils/__init__.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/utils/bot.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/utils/dataClass.py +0 -0
- {nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/nonebot_plugin_splatoon3_schedule/utils/translation.py +0 -0
{nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nonebot-plugin-splatoon3-schedule
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: 一个基于nonebot2框架的splatoon3游戏日程查询插件
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Author: cypas
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.14
|
|
16
16
|
Requires-Dist: Pillow (>=11.3.0,<12.0.0)
|
|
17
17
|
Requires-Dist: beautifulsoup4 (>=4.12.2,<5.0.0)
|
|
18
|
-
Requires-Dist:
|
|
18
|
+
Requires-Dist: cloudscraper (>=1.2.71,<2.0.0)
|
|
19
19
|
Requires-Dist: httpx (>=0.28.1,<0.29.0)
|
|
20
20
|
Requires-Dist: nonebot-adapter-kaiheila (>=0.3.4,<0.4.0)
|
|
21
21
|
Requires-Dist: nonebot-adapter-onebot (>=2.4.6,<3.0.0)
|
|
@@ -2,7 +2,7 @@ import datetime
|
|
|
2
2
|
import os
|
|
3
3
|
import random
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import cloudscraper
|
|
6
6
|
import httpx
|
|
7
7
|
from PIL import ImageFont
|
|
8
8
|
from httpx import Response
|
|
@@ -41,9 +41,9 @@ dict_bg_rgb = {
|
|
|
41
41
|
def cf_http_get(url: str):
|
|
42
42
|
"""cf get"""
|
|
43
43
|
# 实例化一个create_scraper对象
|
|
44
|
-
scraper =
|
|
44
|
+
scraper = cloudscraper.create_scraper()
|
|
45
45
|
# 请求报错,可以加上时延
|
|
46
|
-
# scraper =
|
|
46
|
+
# scraper = cloudscraper.create_scraper(delay = 6)
|
|
47
47
|
if proxy_address:
|
|
48
48
|
cf_proxies = {
|
|
49
49
|
"http": "http://{}".format(proxy_address),
|
{nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/pyproject.toml
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "nonebot-plugin-splatoon3-schedule"
|
|
3
|
-
version = "2.0.
|
|
3
|
+
version = "2.0.2"
|
|
4
4
|
description = "一个基于nonebot2框架的splatoon3游戏日程查询插件"
|
|
5
5
|
authors = ["cypas <ayano05@outlook.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -9,7 +9,7 @@ packages = [{ include = "nonebot_plugin_splatoon3_schedule" }]
|
|
|
9
9
|
[tool.poetry.dependencies]
|
|
10
10
|
python = "^3.9"
|
|
11
11
|
beautifulsoup4 = "^4.12.2"
|
|
12
|
-
|
|
12
|
+
cloudscraper = "^1.2.71"
|
|
13
13
|
httpx = "^0.28.1"
|
|
14
14
|
nonebot2 = "^2.4.4"
|
|
15
15
|
pydantic = ">=1.0.0,<3.0.0,!=2.5.0,!=2.5.1"
|
|
File without changes
|
{nonebot_plugin_splatoon3_schedule-2.0.1 → nonebot_plugin_splatoon3_schedule-2.0.2}/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|