Skip to content

Commit

Permalink
+1 service for RU
Browse files Browse the repository at this point in the history
  • Loading branch information
LostIk31 committed Aug 18, 2022
1 parent 96b6409 commit a4e035e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion tools/services.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"beerlogapizza": {
"url": "https://smsc.ru/sys/send.php",
"data": "{'login': '[email protected]', 'psw': 'QWE780p', 'phones': '*+phone*', 'mes': 'code', 'call': '1', 'fmt': '3'}",
"response": 200,
"response": 201,
"timeout": 60,
"cookies": "https://beerlogapizza.ru/login/"
},
Expand All @@ -157,6 +157,15 @@
"data": "{'g-recaptcha-response': 'null','phone': '*phone3*'}",
"response": 200,
"timeout": 60
},
"lentaru": {
"url": "https://online.lenta.com/api.php",
"data": "{'tel': '*phone()*', 'accept': 'on', 'urlParams': ''}",
"response": 200,
"headers": {"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Accept-Encoding": "gzip, deflate, br", "Accept-Language": "ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7", "Cache-Control": "no-cache", "Connection": "keep-alive", "User-Agent": "", "X-Requested-With": "XMLHttpRequest"},
"timeout": 60,
"kstati": "HZF Pizdit comiti",
"cookies": "https://online.lenta.com"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def FormattingResponse(status_code, service):
second = date.second
date = colored(f"{hour}:{minute}:{second}", "magenta")

status_codes = {200: colored("SUCCES", "green"),
status_codes = {200: colored("SUCCESS", "green"),
429: colored("TIME-OUT", "yellow"),
400: colored("TIME_OUT", "yellow"),
404: colored("NOT FOUND", "red"),
Expand Down
2 changes: 1 addition & 1 deletion tools/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0 release
1.0.1 release

0 comments on commit a4e035e

Please sign in to comment.