Exemplo n.º 1
0
    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 = ""
Exemplo n.º 2
0
 def __init__(self, title, parent, url):
     Node.__init__(self, title, parent)
     self.video_id = url.split("/")[-1]
     self.can_download = True
Exemplo n.º 3
0
 def __init__(self, title, parent, token):
     Node.__init__(self, title, parent)
     self.token = token
     self.series_nodes = {}
Exemplo n.º 4
0
 def __init__(self, title, parent, url):
     Node.__init__(self, title, parent)
     self.url = url
Exemplo n.º 5
0
 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
Exemplo n.º 6
0
	def __init__(self, parent):
		Node.__init__(self, "Yahoo Plus7 (broken!)", parent)
Exemplo n.º 7
0
 def __init__(self, parent):
     Node.__init__(self, "Yahoo Plus7 (broken!)", parent)
Exemplo n.º 8
0
 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()
Exemplo n.º 9
0
 def __init__(self, title, parent, video_url):
     Node.__init__(self, title, parent)
     self.can_download = True
     self.video_url = video_url
Exemplo n.º 10
0
 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
Exemplo n.º 11
0
 def __init__(self, title, parent, token):
     Node.__init__(self, title, parent)
     self.token = token
     self.series_nodes = {}
Exemplo n.º 12
0
 def __init__(self, parent):
     Node.__init__(self, "SBS", parent)
Exemplo n.º 13
0
 def __init__(self, title, parent, url):
     Node.__init__(self, title, parent)
     self.video_id = url.split("/")[-1]
     self.can_download = True
Exemplo n.º 14
0
 def __init__(self, title, parent, url):
     Node.__init__(self, title, parent)
     self.url = url
     self.can_download = True
Exemplo n.º 15
0
 def __init__(self, parent):
     Node.__init__(self, "SBS", parent)
Exemplo n.º 16
0
 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
Exemplo n.º 17
0
	def __init__(self, title, parent, url):
		Node.__init__(self, title, parent)
		self.url = url
Exemplo n.º 18
0
 def __init__(self, title, parent, url):
     Node.__init__(self, title, parent)
     self.url = url
     self.series_map = {}
Exemplo n.º 19
0
	def __init__(self, title, parent, url):
		Node.__init__(self, title, parent)
		self.url = url
		self.can_download = True
Exemplo n.º 20
0
 def __init__(self, title, parent, url):
     Node.__init__(self, title, parent)
     self.url = url
     self.unique_series = set()