mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2025-12-26 12:56:22 +08:00
24 lines
467 B
Python
24 lines
467 B
Python
from pathlib import Path
|
|
|
|
|
|
class Download:
|
|
def __init__(
|
|
self,
|
|
path,
|
|
folder,
|
|
headers: dict,
|
|
proxies=None, ):
|
|
self.root = Path(path).joinpath(folder)
|
|
self.headers = headers
|
|
self.proxies = {
|
|
"http": proxies,
|
|
"https": proxies,
|
|
"ftp": proxies,
|
|
}
|
|
|
|
def run(self, urls: list):
|
|
pass
|
|
|
|
def download(self, url: str):
|
|
pass
|