Skip to content

Commit

Permalink
chore: uncomments code
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiaudioTT committed Jul 1, 2024
1 parent 8465285 commit d876fac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/getVanillaCountries.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# this script is used to get the vanilla countries from the wiki
# It creates a file with the countries and their codes in a python dictionary format
# it also downloads the flags of the countries
# execut to see the failed: python your_script.py > output.log

# Todo: this was made in a hurry, LMAO. Refactor it!
# Hint: use threads to be faster
Expand Down Expand Up @@ -80,12 +81,11 @@ def main():
# Download the images and create the dictionary with the countries
getCountries(initialCountriesTable, "initialCountries")

# todo: do this part
# # pick the table with the released countries
# releasedCountriesTable = soup.select_one("table.wikitable:nth-child(26) > tbody")
# pick the table with the released countries
releasedCountriesTable = soup.select_one("table.wikitable:nth-child(26) > tbody")

# # Download the images and create the dictionary with the countries
# getCountries(releasedCountriesTable, "releasedCountries")
# Download the images and create the dictionary with the countries
getCountries(releasedCountriesTable, "releasedCountries")

print("Done.")

Expand Down

0 comments on commit d876fac

Please sign in to comment.