Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directus extension: Player Daily Scrapper #27

Open
BonDoQ opened this issue Apr 3, 2024 · 0 comments
Open

Directus extension: Player Daily Scrapper #27

BonDoQ opened this issue Apr 3, 2024 · 0 comments

Comments

@BonDoQ
Copy link
Owner

BonDoQ commented Apr 3, 2024

There's a possible way to scrap players faster without Playwright, that could be implemented as a Directus extension and remove the cron Codebase

const headers = {
  "Accept-Encoding":"gzip, deflate, br",
  "Connection":"keep-alive",
  "User-Agent":"Futbin\/6.2.4 (iPhone; iOS 17.4.1; Scale\/3.00)",
  "Host":"cdn.futbin.com",
  "Accept":"image\/*,*\/*;q=0.8",
  "Accept-Language":"en-US,en;q=0.9"
}

Player full Info: https://www.futbin.org/futbin/api/24/fetchPlayerInformationM?ids=85&platform=PS
Player Image: https://cdn.futbin.com/content/fifa24/img/players/164240.png (Store futbin Player_ID for image )
Player Prices: https://www.futbin.org/futbin/api/24/getPlayersPrice?platform=PS&player_ids=85
https://www.futbin.org/futbin/api/24/getPlayersPrice?platform=PS&player_ids=85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant