aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/subscriptions.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-02 17:45:25 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-02 17:45:25 -0700
commit79937c1c823f998a1d6bb324901fd13b483b3607 (patch)
tree1d84b32d2050761b5d5746b965678b8b878f295c /youtube/subscriptions.py
parent2696fb30c2195485b88c5a97f14251d33c9bb73a (diff)
downloadyt-local-79937c1c823f998a1d6bb324901fd13b483b3607.tar.lz
yt-local-79937c1c823f998a1d6bb324901fd13b483b3607.tar.xz
yt-local-79937c1c823f998a1d6bb324901fd13b483b3607.zip
fix line endings
Diffstat (limited to 'youtube/subscriptions.py')
-rw-r--r--youtube/subscriptions.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/youtube/subscriptions.py b/youtube/subscriptions.py
index 5edf6fc..47f1ea3 100644
--- a/youtube/subscriptions.py
+++ b/youtube/subscriptions.py
@@ -1,18 +1,18 @@
-import urllib
-
-with open("subscriptions.txt", 'r', encoding='utf-8') as file:
- subscriptions = file.read()
-
-# Line format: "channel_id channel_name"
-# Example:
-# UCYO_jab_esuFRV4b17AJtAw 3Blue1Brown
-
-subscriptions = ((line[0:24], line[25: ]) for line in subscriptions.splitlines())
-
-def get_new_videos():
- for channel_id, channel_name in subscriptions:
-
-
-
-
-def get_subscriptions_page():
+import urllib
+
+with open("subscriptions.txt", 'r', encoding='utf-8') as file:
+ subscriptions = file.read()
+
+# Line format: "channel_id channel_name"
+# Example:
+# UCYO_jab_esuFRV4b17AJtAw 3Blue1Brown
+
+subscriptions = ((line[0:24], line[25: ]) for line in subscriptions.splitlines())
+
+def get_new_videos():
+ for channel_id, channel_name in subscriptions:
+
+
+
+
+def get_subscriptions_page():