mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2025-12-26 04:48:05 +08:00
16 lines
231 B
Python
16 lines
231 B
Python
# from .Params import HEADERS
|
|
from .Params import API
|
|
from .Params import ID
|
|
|
|
|
|
def get_id(html: str):
|
|
return ID.findall(html)
|
|
|
|
|
|
def generate_url(ids: list):
|
|
return [API + i for i in ids]
|
|
|
|
|
|
def download(url, path):
|
|
pass
|