Skip to content

Instantly share code, notes, and snippets.

@kuznetsov-m
Last active August 16, 2020 23:39
Show Gist options
  • Save kuznetsov-m/743ede9953a45e102f21a8121c204e24 to your computer and use it in GitHub Desktop.
Save kuznetsov-m/743ede9953a45e102f21a8121c204e24 to your computer and use it in GitHub Desktop.
# example bill
fn = '9251440300109733'
fd = '96304'
n = '1'
fp = '3341119416'
t = '02.08.2020+16%3A12'
s = '55.00'
# example
# https://github.com/enrike666/telegram-bot/blob/02c61ccd8622b9b954942b464b74020f6d254029/main_test.go
# t=20200601T2122&s=213.07&fn=9282440300649733&i=12416&fp=2858316733&n=1
fn = '9282440300649733'
fd = '12416'
n = '1'
fp = '2858316733'
t = '01.06.2020+21%3A22'
s = '213.07'
headers = {
"Accept": "application/json, text/javascript, */*; q=0.01",
"Referer": "https://proverkacheka.com/",
"X-Requested-With": "XMLHttpRequest",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
"Chrome/81.0.4044.122 Safari/537.36 "
}
data = {
"fn": fn,
"fd": fd,
"fp": fp,
"n": "1",
"s": s,
"t": t,
"qr": "0"
}
responce = requests.post("https://proverkacheka.com/check/get",
headers=headers,
data=data)
print(responce.status_code)
print(responce.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment