mirror of
https://github.com/anatolykopyl/youtube-cdl.git
synced 2026-03-26 12:55:11 +00:00
🔥 Got rid of useless example code
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user