From 5542467fbb1217502d4dbf9855a05548dd789edd Mon Sep 17 00:00:00 2001 From: Anatoly Date: Sat, 10 Apr 2021 20:54:16 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Got=20rid=20of=20useless=20examp?= =?UTF-8?q?le=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- get_channels.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/get_channels.py b/get_channels.py index 5e357b9..efb452a 100644 --- a/get_channels.py +++ b/get_channels.py @@ -128,16 +128,3 @@ def parse_youtube_subscriptions(subscriptions_response): }) return channels - - -if __name__ == "__main__": - # init - all_channels = [] - - print('Perform youtube subscriptions') - # retrieve subscriptions - all_channels = retrieve_youtube_subscriptions() - print('Subscriptions complete') - print('Subscriptions found: {}'.format(len(all_channels))) - - print("Channels:\n", "\n".join(all_channels), "\n") \ No newline at end of file