bartlomiej-niemiec / fc24-ultimate-team-players

FC24 UT players card

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FC24 Ultimate Team PLAYERS

This repository contains script to automatically fetch FC24 Ultimate Team players cards from Futwiz website. Player card data include in game stats, market price, playstyles etc.

Installation

Use the package manager pip to install.

pip install -r requirements.txt

Usage

Script can be run in three modes:

  • fetch all of the Ultimate Team cards and write them to csv file,
  • write to csv file latest added players and stop at first card that is already in file.
  • update the price for all of the players in csv file.

To select which mode you would like to run set it in main.py:

from ut_players.ut_players_factory import UtPlayersRunnerFactory
from ut_players.ut_players_mode import UtPlayersMode

if __name__ == "__main__":
    fut_players = UtPlayersRunnerFactory.create(UtPlayersMode.LatestPlayerUpdate)
    fut_players.run()

Each run of script can be configured in config.py im term of:

  • using proxy servers (getting all of the players and price update mode),
  • number of working/scraping threads (getting all of the players and price update mode),
  • csv filepath,
  • max retries of http get request,
  • time delay to next request\time delay between each retry.

How proxy servers .txt file should look like:

<address_ip>:<port>
<address_ip>:<port>
<address_ip>:<port>
<address_ip>:<port>

About

FC24 UT players card

License:MIT License


Languages

Language:Python 100.0%