(log)
| 49 | return ' [%02d:%02d:%02d]' % (hours, minutes, seconds) |
| 50 | |
| 51 | def handle_log(log): |
| 52 | print('Done!') |
| 53 | if not log: |
| 54 | print('Everything went well!') |
| 55 | else: |
| 56 | print('\n'.join(log)) |
| 57 | |
| 58 | def main(): |
| 59 | youtube_api_key = load_youtube_api_key() |