diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2019-01-07 20:03:02 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2019-01-07 20:03:02 +0000 |
commit | cdecedef83a73ab8d1011f22e1549d6013897c13 (patch) | |
tree | 1fba64a306e196ce96e04a30b9cd64f2353933de /onceaday.py | |
download | SmallYTChannelBot-cdecedef83a73ab8d1011f22e1549d6013897c13.tar.gz SmallYTChannelBot-cdecedef83a73ab8d1011f22e1549d6013897c13.zip |
added YouTube API features
Diffstat (limited to 'onceaday.py')
-rw-r--r-- | onceaday.py | 9 |
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) |