def __init__(self, title: Text, buf: List[Text], n: int) -> None: # {{{1 Node.__init__(self, "section", {}) title = title if not title.startswith(" ") else title[1:] self.parent: Optional[MDNode] = None self.title = title self.note = "\n".join(buf) self.n_level = n self.section = ""
def __init__(self, title, parent, url): Node.__init__(self, title, parent) self.video_id = url.split("/")[-1] self.can_download = True
def __init__(self, title, parent, token): Node.__init__(self, title, parent) self.token = token self.series_nodes = {}
def __init__(self, title, parent, url): Node.__init__(self, title, parent) self.url = url
def __init__(self, title, parent, token, video_id): Node.__init__(self, title, parent) self.can_download = True self.token = token self.video_id = video_id
def __init__(self, parent): Node.__init__(self, "Yahoo Plus7 (broken!)", parent)
def __init__(self, title, parent, query, expected_tv_show): Node.__init__(self, title, parent) self.title = title self.query = query self.expected_tv_show = expected_tv_show self.video_ids = set()
def __init__(self, title, parent, video_url): Node.__init__(self, title, parent) self.can_download = True self.video_url = video_url
def __init__(self, parent): Node.__init__(self, "SBS", parent)
def __init__(self, title, parent, url): Node.__init__(self, title, parent) self.url = url self.can_download = True
def __init__(self, title, parent, video_key): Node.__init__(self, title, parent) self.video_key = video_key self.filename = title + ".ts" self.can_download = True
def __init__(self, title, parent, url): Node.__init__(self, title, parent) self.url = url self.series_map = {}
def __init__(self, title, parent, url): Node.__init__(self, title, parent) self.url = url self.unique_series = set()