更新代码

This commit is contained in:
JoeamAmier 2023-08-26 10:47:45 +08:00
parent 4a1136e464
commit 250139be3c
2 changed files with 18 additions and 1 deletions

11
source/Download.py Normal file
View File

@ -0,0 +1,11 @@
class Download:
def __init__(
self,
headers: dict,
proxies=None, ):
self.headers = headers
self.proxies = {
"http": proxies,
"https": proxies,
"ftp": proxies,
}

View File

@ -1,2 +1,8 @@
from re import compile
class Explore:
pass
explore_data = compile(r'"noteDetailMap": (\{.*?})')
def __init__(self, html: str):
self.html = html