⚡️ Rewrite download manager
This commit is contained in:
parent
e47a92b77e
commit
afc9c112cb
4 changed files with 68 additions and 53 deletions
|
@ -1,8 +1,13 @@
|
|||
from .exceptions import *
|
||||
from bilibili_api import video, sync, HEADERS
|
||||
from bilibili_api import video, sync
|
||||
from httpx import stream
|
||||
from os import PathLike
|
||||
|
||||
HEADERS = {
|
||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0",
|
||||
"Referer": "https://www.bilibili.com",
|
||||
}
|
||||
|
||||
|
||||
class Video:
|
||||
def __init__(self, video_number: str):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue