mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2025-12-26 04:48:05 +08:00
更新代码
This commit is contained in:
parent
4a1136e464
commit
250139be3c
11
source/Download.py
Normal file
11
source/Download.py
Normal 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,
|
||||
}
|
||||
@ -1,2 +1,8 @@
|
||||
from re import compile
|
||||
|
||||
|
||||
class Explore:
|
||||
pass
|
||||
explore_data = compile(r'"noteDetailMap": (\{.*?})')
|
||||
|
||||
def __init__(self, html: str):
|
||||
self.html = html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user