Skip to content

Web-scraping script that writes the data of all players from FutHead and FutBin to a CSV file or a DB

License

Notifications You must be signed in to change notification settings

kafagy/fifa-FUT-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9df2d39 · Nov 26, 2019

History

22 Commits
Feb 2, 2019
Nov 22, 2018
Nov 22, 2018
Nov 22, 2018
Nov 22, 2018
Nov 22, 2018
Nov 22, 2018
Nov 22, 2018
Nov 22, 2018
Nov 22, 2018
Nov 22, 2018
Nov 26, 2019
Feb 2, 2019
Feb 2, 2019
Sep 14, 2017
Feb 2, 2019
Feb 2, 2019
Nov 26, 2019
Nov 26, 2019

Repository files navigation

HitCount

FIFA FUT Players Data

What is the purpose of this script?

  • The purpose of this repository is to have a script that automatically pulls down all players data from Futhead's website for all FIFA versions starting with FIFA 10. And to pull detialed data from Futbin.com

How to use it?

  • Just run the fifa.py script: python3 futbin.py to get Futbin data. python3 futhead.py to get FutHead data.

Players data ouput format:

  • After running the script the user will have the data saved in a MySQL database and CSV files.

Requirements:

  • Python 3
  • MySQL
  • PIP

You will need to use PIP to install the following libraries:

  • pymysql
  • bs4
  • requests
  • pandas

Note:

  • You will need to sucessfully run the futhead.sql script before running the futhead.py parser.
  • Input database's host, database name, user and password in the futhead.py connection line.
  • Make sure you create tables using the DDL in futhead.sql to be able to correctly encode latin literals when writing to the Database.