💥 Remove author information

This commit is contained in:
zhbaor 2023-02-21 20:38:09 +08:00
parent d10e9a7088
commit 1d963e6f5b
2 changed files with 0 additions and 3 deletions

View file

@ -37,7 +37,6 @@ class Manager:
{
"number": v.number,
"title": v.title,
"author": v.author,
"received": v.received_bytes,
"total": v.length,
}

View file

@ -7,7 +7,6 @@ from os import PathLike
class Video:
def __init__(self, video_number: str):
self.title = None
self.author = None
self.received_bytes = 0
self.length = 0
video_number = video_number.strip()
@ -35,7 +34,6 @@ class Video:
except:
raise BiliBiliAPIException("Error happens with bilibili-api-python.")
self.title = info["title"]
self.author = info["owner"]["name"]
def get_url(self):
try: