mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow.git
synced 2025-09-05 19:56:25 +00:00
🐛修复依赖
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import json
|
||||
import requests
|
||||
from jinja2 import Template
|
||||
CITY_API_ROOT="https://show.bilibili.com/api/ticket/city/list?channel=3"
|
||||
SHOWS_API_ROOT="https://show.bilibili.com/api/ticket/project/listV2"
|
||||
HEADERS = {
|
||||
@ -92,7 +91,4 @@ def process_shows_data_to_template(shows_data: dict):
|
||||
"image_url": cover
|
||||
})
|
||||
showlist.append(dicts)
|
||||
return showlist
|
||||
template = Template(show_template)
|
||||
rendered = template.render(exhibitions=showlist)
|
||||
return rendered
|
||||
return showlist
|
Reference in New Issue
Block a user