Update export statistics
This commit is contained in:
parent
c0b0f31f41
commit
1e7de46326
BIN
dist/Ragnar-1.3.37-py3-none-any.whl
vendored
BIN
dist/Ragnar-1.3.37-py3-none-any.whl
vendored
Binary file not shown.
BIN
dist/ragnar-1.3.37.tar.gz
vendored
BIN
dist/ragnar-1.3.37.tar.gz
vendored
Binary file not shown.
4
ragnar.log
Normal file
4
ragnar.log
Normal 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!
|
@ -1,17 +1,13 @@
|
|||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
file_handler = logging.FileHandler("ragnar.log")
|
||||||
file_handler = logging.FileHandler('ragnar.log')
|
|
||||||
file_handler.setLevel(logging.INFO)
|
file_handler.setLevel(logging.INFO)
|
||||||
|
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
level=logging.DEBUG,
|
level=logging.DEBUG,
|
||||||
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
|
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
|
||||||
handlers=[
|
handlers=[logging.StreamHandler(sys.stdout), file_handler],
|
||||||
logging.StreamHandler(sys.stdout),
|
|
||||||
file_handler
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import argparse
|
import argparse
|
||||||
import pathlib
|
|
||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
from concurrent.futures import ThreadPoolExecutor as Executor
|
from concurrent.futures import ThreadPoolExecutor as Executor
|
||||||
@ -31,6 +30,7 @@ def bot_task(username, password):
|
|||||||
log.critical(ex, exc_info=True)
|
log.critical(ex, exc_info=True)
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
args = parse_args()
|
args = parse_args()
|
||||||
usernames = [
|
usernames = [
|
||||||
|
Loading…
Reference in New Issue
Block a user