3.18
This commit is contained in:
parent
60b7f5f4cf
commit
670f9da006
@ -1,3 +1,4 @@
|
|||||||
pytypecho==2.1.0
|
pytypecho==2.1.0
|
||||||
pymysql==1.0.2
|
pymysql==1.0.2
|
||||||
python-dotenv==0.21.0
|
python-dotenv==0.21.0
|
||||||
|
requests==2.31.0
|
@ -3,7 +3,7 @@ import re
|
|||||||
import shutil
|
import shutil
|
||||||
import uuid
|
import uuid
|
||||||
from upload_img import upload_image
|
from upload_img import upload_image
|
||||||
|
from download_img import download_image
|
||||||
|
|
||||||
def extract_image_paths(content):
|
def extract_image_paths(content):
|
||||||
"""
|
"""
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
|
||||||
def upload_image(img_path: str) -> str:
|
def upload_image(img_path: str) -> str:
|
||||||
"""
|
"""
|
||||||
上传本地图片到 easyimage 图床,并返回图片的公网地址。
|
上传本地图片到 easyimage 图床,并返回图片的公网地址。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user