diff --git a/tx.sh b/tx.sh index ba03d23..5d3e02f 100755 --- a/tx.sh +++ b/tx.sh @@ -4,19 +4,9 @@ source .env curl 'https://faisanet.mib.com.mv/ajaxAccounts/trxHistory' \ -H 'accept: */*' \ - -H 'accept-language: en-US,en;q=0.8' \ -H 'content-type: application/x-www-form-urlencoded; charset=UTF-8' \ -H "cookie: prefTheme=1; ql_0=${QL_0}; IBSID=${IBSID}; dashboardStatsMode=1; _zwaf_ua=Brave" \ - -H 'origin: https://faisanet.mib.com.mv' \ - -H 'priority: u=1, i' \ -H 'referer: https://faisanet.mib.com.mv/accountDetails?accountNo=90101400028321000' \ - -H 'sec-ch-ua: "Chromium";v="130", "Brave";v="130", "Not?A_Brand";v="99"' \ - -H 'sec-ch-ua-mobile: ?0' \ - -H 'sec-ch-ua-platform: "Linux"' \ - -H 'sec-fetch-dest: empty' \ - -H 'sec-fetch-mode: cors' \ - -H 'sec-fetch-site: same-origin' \ - -H 'sec-gpc: 1' \ -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36' \ -H 'x-requested-with: XMLHttpRequest' \ - --data-raw 'accountNo=90101400028321000&trxNo=&trxType=0&sortTrx=date&sortDir=desc&fromDate=&toDate=&start=1&end=10&includeCount=1' -s | jq + --data-raw 'accountNo=90101400028321000&trxNo=&trxType=0&sortTrx=date&sortDir=desc&fromDate=&toDate=&start=1&end=2&includeCount=1' -s | sed 's/"benefName":"BML - /"benefName":"/g'