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

Method getPermisionToContinue

CliYoutubeDownloader.py:48–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 self.getPermisionToContinue()
47
48 def getPermisionToContinue(self):
49 print(
50 "\n title : {0} \n author : {1} \n size : {2:.2f}MB \n resolution : {3} \n fps : {4} \n ".format(
51 self.youtube.title,
52 self.youtube.author,
53 file_size,
54 self.stream.resolution,
55 self.stream.fps,
56 )
57 )
58 if input("do you want it ?(defualt = (y)es) or (n)o ") == "n":
59 self.showStreams()
60 else:
61 self.main()
62
63 def download(self):
64 self.stream.download()

Callers 1

getFileSizeMethod · 0.95

Calls 2

showStreamsMethod · 0.95
mainMethod · 0.95

Tested by

no test coverage detected