Update export statistics

This commit is contained in:
bot 2024-12-17 12:05:07 +00:00
parent c0b0f31f41
commit 1e7de46326
5 changed files with 7 additions and 7 deletions

Binary file not shown.

Binary file not shown.

4
ragnar.log Normal file
View File

@ -0,0 +1,4 @@
2024-12-17 12:05:06,648 - ragnar - INFO - Regex trigger ([\w\d]\.[\w\d]{2,5}\/[\w\d]+|http|www) matched!
2024-12-17 12:05:06,648 - ragnar - INFO - Regex trigger \([+,(,0-9,),-]{7,} matched!
2024-12-17 12:05:06,648 - ragnar - INFO - Regex trigger ([\w\d]\.[\w\d]{2,5}\/[\w\d]+|http|www) matched!
2024-12-17 12:05:06,648 - ragnar - INFO - Regex trigger ([\w\d]\.[\w\d]{2,5}\/[\w\d]+|http|www) matched!

View File

@ -1,17 +1,13 @@
import logging
import sys
file_handler = logging.FileHandler('ragnar.log')
file_handler = logging.FileHandler("ragnar.log")
file_handler.setLevel(logging.INFO)
logging.basicConfig(
level=logging.DEBUG,
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
handlers=[
logging.StreamHandler(sys.stdout),
file_handler
],
handlers=[logging.StreamHandler(sys.stdout), file_handler],
)
log = logging.getLogger(__name__)

View File

@ -1,5 +1,4 @@
import argparse
import pathlib
import random
import time
from concurrent.futures import ThreadPoolExecutor as Executor
@ -31,6 +30,7 @@ def bot_task(username, password):
log.critical(ex, exc_info=True)
break
def main():
args = parse_args()
usernames = [