Fix linter issues
All checks were successful
Build Docker image / test (push) Successful in 30s
Build Docker image / build (push) Successful in 52s

This commit is contained in:
Roman Krček
2024-10-10 23:06:14 +02:00
parent 53228e7294
commit 7a54a4c0f5
3 changed files with 7 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ LOG_LEVEL = os.getenv("LOG_LEVEL") # Log level
# Your message ID for authorization separated by commas
msg_ids = os.getenv("MSG_IDS")
ALLOWED_IDS = set([ int(i) for i in msg_ids.split(",") ]) # Convert to set
ALLOWED_IDS = set([int(i) for i in msg_ids.split(",")]) # Convert to set
log = logger.configure_logger(LOG_LEVEL)

6
test.py Normal file
View File

@@ -0,0 +1,6 @@
from tiktok_downloader import snaptik
videos = snaptik("https://vm.tiktok.com/ZGde8k5P7/")
for video in videos:
print(video.json)

0
tests/test_bot.py Normal file
View File