Spaces:
Sleeping
Sleeping
Merge pull request #8 from MyNameisKaveh/update-rss-feeds
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ class RSSTelegramBot:
|
|
| 94 |
"""Main class for the RSS Telegram Bot."""
|
| 95 |
SIMILARITY_THRESHOLD = 0.75
|
| 96 |
DUPLICATE_TITLE_WINDOW_SECONDS = 48 * 60 * 60 # 48 hours
|
| 97 |
-
DB_PATH = "/
|
| 98 |
|
| 99 |
def __init__(self, bot_token: str, target_channel: str):
|
| 100 |
self.bot_token = bot_token
|
|
|
|
| 94 |
"""Main class for the RSS Telegram Bot."""
|
| 95 |
SIMILARITY_THRESHOLD = 0.75
|
| 96 |
DUPLICATE_TITLE_WINDOW_SECONDS = 48 * 60 * 60 # 48 hours
|
| 97 |
+
DB_PATH = "/tmp/bot_data.db"
|
| 98 |
|
| 99 |
def __init__(self, bot_token: str, target_channel: str):
|
| 100 |
self.bot_token = bot_token
|