From aa66ecd6d8650270bf2c6b195f1dcd4db9af232a Mon Sep 17 00:00:00 2001 From: Benny Date: Mon, 22 Jan 2024 18:01:12 +0100 Subject: [PATCH] fix #335 #334 --- README.md | 2 +- ytdlbot/keep_alive.py | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 ytdlbot/keep_alive.py diff --git a/README.md b/README.md index f42575a0..ffe13c25 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ If you need more downloads, you can buy download tokens. 9. celery worker distribution - faster than before. 10. subscriptions to YouTube Channels 11. cache mechanism - download once for the same video. -12. instagram posts +12. instagram posts(only available for my bot) 13. 4 GiB file size support with Telegram Premium > If you download files larger than 2 GiB, you agreed that this file will be uploaded by me. I know who you are and what diff --git a/ytdlbot/keep_alive.py b/ytdlbot/keep_alive.py new file mode 100644 index 00000000..9cf90068 --- /dev/null +++ b/ytdlbot/keep_alive.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python3 +# coding: utf-8 + +# ytdlbot - keep_alive.py +# 2024-01-22 17:59 + +import time + +while True: + print("I'm still alive") + time.sleep(10)