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

Method showStreams

CliYoutubeDownloader.py:17–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15 self.showStreams()
16
17 def showStreams(self):
18 self.streamNo = 1
19 for stream in self.youtube.streams:
20 print(
21 "{0} => resolation:{1}/fps:{2}/type:{3}".format(
22 self.streamNo, stream.resolution, stream.fps, stream.type
23 )
24 )
25 self.streamNo += 1
26 self.chooseStream()
27
28 def chooseStream(self):
29 self.choose = int(input("please select one : "))

Callers 2

showTitleMethod · 0.95

Calls 1

chooseStreamMethod · 0.95

Tested by

no test coverage detected