installs images from flagsapi.com and then converts them to Country codes
Built using python for simplicity.
requires "requests" in order to work.
Disclaimer: This has been developed for educational purposes only. Any action you take using this script is strictly at your own risk. I will not be liable for any losses or damages you face using this script.
First run
scraper.py
After that has finished scraping flag images run flagname.py. in my experience flagname.py took less than 1s to rename all files and downloading with scraper.py took less than 1m. Results may differ.
This scrapes images from https://flagsapi.com