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