MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

CliYoutubeDownloader.py:6–11  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4
5class YouTubeDownloder:
6 def __init__(self):
7 self.url = str(input("Enter the url of video : "))
8 self.youtube = YouTube(
9 self.url, on_progress_callback=YouTubeDownloder.onProgress
10 )
11 self.showTitle()
12
13 def showTitle(self):
14 print("title : {0}\n".format(self.youtube.title))

Callers

nothing calls this directly

Calls 1

showTitleMethod · 0.95

Tested by

no test coverage detected