From d876fac7307bed2315fc27c0603e975c2cd8a07b Mon Sep 17 00:00:00 2001 From: ThiaudioTT Date: Mon, 1 Jul 2024 09:46:26 -0300 Subject: [PATCH] chore: uncomments code --- tools/getVanillaCountries.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/getVanillaCountries.py b/tools/getVanillaCountries.py index 383dd8a..75227e1 100644 --- a/tools/getVanillaCountries.py +++ b/tools/getVanillaCountries.py @@ -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 @@ -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.")