(self)
| 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() |
no test coverage detected