888sports-api
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -13,5 +13,7 @@ // require('dotenv').config(); | ||
'odds_format=FRACIONAL;', | ||
'888Cookie=isftd=false&lang=pt&OSR=1442621&queryCountry=bra&RefType=NoReferrer&TestData={"anid":"888sports-com","country":"bra","last-referrer":"https://www.888sport.com/","orig-lp":"https://www.888sport.com/","referrer":"NULL"}' | ||
//'_gid=GA1.2.550140437.1634869424;', | ||
//'spectate_session=56cc83f0-229d-4c98-b733-a0b8862db7f7%3Aanon;', | ||
//'_gat_UA-125725186-7=1;' | ||
// 'newrelic=eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkJyb3dzZXIiLCJhYyI6IjI1MDk2NzQiLCJhcCI6IjMwNzYyODM3IiwiaWQiOiJkMmUyNTRkZWYzOTUwZTA3IiwidHIiOiIxMjNmOTJkN2Q5ZjE5YTc5IiwidGkiOjE2NTEwNjkxMTY4ODh9fQ==' | ||
] | ||
@@ -35,2 +37,3 @@ function parseCookie(arr = []) { | ||
'cookie': parseCookie(Ck), | ||
// 'cookie': 'odds_format=DECIMAL; 888Cookie=isftd%3Dfalse%26lang%3Dpt%26OSR%3D1442621%26queryCountry%3Dbra%26RefType%3DNoReferrer%26TestData%3D%7B%22anid%22%3A%22888sports-com%22%2C%22country%22%3A%22bra%22%2C%22last-referrer%22%3A%22https%3A%2F%2Fwww.888sport.com%2F%22%2C%22orig-lp%22%3A%22https%3A%2F%2Fwww.888sport.com%2F%22%2C%22referrer%22%3A%22NULL%22%7D; lang=por; ', | ||
//newrelic: 'eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkJyb3dzZXIiLCJhYyI6IjI1MDk2NzQiLCJhcCI6IjMwNzYyODM3IiwiaWQiOiIzYTg3ODBjMmU1MzY1Y2U3IiwidHIiOiI2MWI5MTJmOWNkYmU0MjI5IiwidGkiOjE2MzQ4NzA2MDkzMjd9fQ==', | ||
@@ -37,0 +40,0 @@ origin: 'https://www.888sport.com', |
@@ -8,3 +8,3 @@ 'use strict' | ||
constructor(config = { | ||
currency_code: 'GBP', | ||
currency_code: 'EUR', | ||
language: 'por', | ||
@@ -11,0 +11,0 @@ sub_brand_id: 8, |
{ | ||
"name": "888sports-api", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "api para 888sports.com", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,4 +9,4 @@ | ||
console.log(rest.cookie) | ||
var boxing = await sport.getWidgetEvent('mma', 'Featured Homepage', rest.cookie) | ||
console.log(boxing) | ||
// var boxing = await sport.getWidgetEvent('mma', 'Featured Homepage', rest.cookie) | ||
// console.log(boxing) | ||
//var sp = await sport.allSports(rest.cookie); | ||
@@ -13,0 +13,0 @@ //console.log(sp) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
387127
344