File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,3 +198,15 @@ tag指的搜索关键词,可以是标签,作者,标题等等,num则代
198198** Method: ` GET ` **
199199
200200只需要传入通知中返回的 ` file_name ` ,即可将打包的 zip 文件返回,文件名格式为 ` "{file_name}.zip" ` 。
201+
202+ ## 感谢以下项目
203+
204+ ### 禁漫Python爬虫
205+
206+ <a href =" https://github.com/hect0x7/JMComic-Crawler-Python " >
207+ <picture >
208+ <source media="(prefers-color-scheme: dark)" srcset="https://github-readme-stats.vercel.app/api/pin/?username=hect0x7&repo=JMComic-Crawler-Python&theme=radical" />
209+ <source media="(prefers-color-scheme: light)" srcset="https://github-readme-stats.vercel.app/api/pin/?username=hect0x7&repo=JMComic-Crawler-Python" />
210+ <img alt="Repo Card" src="https://github-readme-stats.vercel.app/api/pin/?username=hect0x7&repo=JMComic-Crawler-Python" />
211+ </picture >
212+ </a >
Original file line number Diff line number Diff line change @@ -367,8 +367,6 @@ async def download_file(file_name: str):
367367 )
368368
369369
370- # --- 其他原有路由 (保持不变) ---
371-
372370@app .get ("/v1/{timestamp}" )
373371async def read_root (timestamp : float ):
374372 """
@@ -493,12 +491,6 @@ async def rank(searchTime: str):
493491 return cached_result
494492
495493 client = get_jm_client ()
496- pages : jmcomic .JmCategoryPage = client .categories_filter (
497- page = 1 ,
498- time = jmcomic .JmMagicConstants .TIME_ALL ,
499- category = jmcomic .JmMagicConstants .CATEGORY_ALL ,
500- order_by = jmcomic .JmMagicConstants .ORDER_BY_LATEST ,
501- )
502494 if searchTime == "month" :
503495 pages : jmcomic .JmCategoryPage = client .month_ranking (1 )
504496 elif searchTime == "week" :
@@ -515,5 +507,4 @@ async def rank(searchTime: str):
515507
516508
517509if __name__ == '__main__' :
518- # 确保 uvicorn 运行时引用的是当前文件的 app 实例
519510 uvicorn .run ("main:app" , host = "0.0.0.0" , log_level = "info" )
You can’t perform that action at this time.
0 commit comments