mirror of
https://github.com/Suxiaoqinx/Netease_url.git
synced 2025-09-14 11:36:45 +08:00
Compare commits
2 Commits
45056e92a1
...
c255320f96
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c255320f96 | ||
![]() |
5af0d3df4b |
14
main.py
14
main.py
@ -8,17 +8,15 @@
|
|||||||
- 健康检查
|
- 健康检查
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
import logging
|
import logging
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
import traceback
|
import traceback
|
||||||
from typing import Dict, Any, Optional, Union, Tuple
|
|
||||||
from pathlib import Path
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
from pathlib import Path
|
||||||
|
from typing import Dict, Any, Optional, Tuple
|
||||||
from urllib.parse import quote
|
from urllib.parse import quote
|
||||||
|
from flask import Flask, request, send_file, render_template, Response
|
||||||
from flask import Flask, request, jsonify, send_file, render_template, Response
|
|
||||||
from werkzeug.exceptions import BadRequest, NotFound, InternalServerError
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from music_api import (
|
from music_api import (
|
||||||
@ -644,8 +642,6 @@ def api_info():
|
|||||||
def start_api_server():
|
def start_api_server():
|
||||||
"""启动API服务器"""
|
"""启动API服务器"""
|
||||||
try:
|
try:
|
||||||
import time
|
|
||||||
|
|
||||||
print("\n" + "="*60)
|
print("\n" + "="*60)
|
||||||
print("🚀 网易云音乐API服务启动中...")
|
print("🚀 网易云音乐API服务启动中...")
|
||||||
print("="*60)
|
print("="*60)
|
||||||
|
Loading…
Reference in New Issue
Block a user