aboutsummaryrefslogtreecommitdiffstats
path: root/onceaday.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2019-01-07 20:03:02 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2019-01-07 20:03:02 +0000
commitcdecedef83a73ab8d1011f22e1549d6013897c13 (patch)
tree1fba64a306e196ce96e04a30b9cd64f2353933de /onceaday.py
downloadSmallYTChannelBot-cdecedef83a73ab8d1011f22e1549d6013897c13.tar.gz
SmallYTChannelBot-cdecedef83a73ab8d1011f22e1549d6013897c13.zip
added YouTube API features
Diffstat (limited to 'onceaday.py')
-rw-r--r--onceaday.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/onceaday.py b/onceaday.py
new file mode 100644
index 0000000..a84b0d9
--- /dev/null
+++ b/onceaday.py
@@ -0,0 +1,9 @@
+import SmallYTChannelBotSubmissions
+from time import sleep
+
+SECONDS_IN_DAY = 25 * 60 * 60
+
+while True:
+ SmallYTChannelBotSubmissions.every_day()
+ print("Called @ %s" % SmallYTChannelBotSubmissions.get_time)
+ sleep(SECONDS_IN_DAY)