Skip to content

Commit

Permalink
test browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Creiger committed Nov 23, 2023
1 parent e4e5293 commit c62c319
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions src/services/clubs/clubs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,14 @@ const fetchMatches = async (app: Application) => {
console.log(clubUrl);
try {
const response = await axios.get(clubUrl, {
withCredentials: true,
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.7',
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36',
'Accept-Language': 'en-US,en;q=0.9',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'Accept-Encoding': 'gzip, deflate, br',
'Accept-Language': 'cs-CZ,cs;q=0.9,en;q=0.8',
'Cache-Control': 'max-age=0',
'Cookie': 'ealocale=cs-cz; ak_bmsc=C2F49B2E13530289DBF9875946335E85~000000000000000000000000000000~YAAQEyhDF/yGrs+LAQAAIWvY/RXfM6MURDiB2Klg0ojWkZvoS75R/64PTd4O364QpOCF6t2AodAbLEctMgt/qnPdrMY70HaYv0nXkjIwNCPWFTDfBeTYdzyVuNZWws8NEjMRw0A/+lz91UAQgMZJxRLrwbJxtQk2mXT46kZgs4J63SHVrNyjszGvuMGbUQ1qZqot5ZkrYrdzti9ELLnzC5CW3CFn45c853yUY9GLtyPfrFb+3ysxC4NpfSR+b8+o4BaI2/AsugXdHTrQcRuHQPnJaJ7zDdKz/osCKGeI6aOCwKi1nCUN0y7Bw7Iea42VSHTjIWhRwoEnCUqGOshQhdWmfiGyE7VOryncUv1HjRyONavm6J9oP0n+Bkj1eTqzsEBBNXg=',
'Sec-Ch-Ua': '"Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"',
'Sec-Ch-Ua-Mobile': '?0',
'Sec-Ch-Ua-Platform': '"macOS"',
'Sec-Fetch-Dest': 'document',
'Sec-Fetch-Mode': 'navigate',
'Sec-Fetch-Site': 'none',
'Sec-Fetch-User': '?1',
'Upgrade-Insecure-Requests': '1',
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36'
},
'Cache-Control': 'no-cache',
'Connection': 'keep-alive'
}
});
let matches = response.data;
console.log(matches);
Expand Down

0 comments on commit c62c319

Please sign in to comment.