Script for parsing exchange rate (USD/UAH) from minfin.com.ua
Script for parsing currency exchange rates (USD/UAH) from minfin.com.ua
Description:
The script automatically collects the USD to UAH exchange rate (buy and sell) from Ukrainian banks on the website minfin.com.ua. The obtained data is stored in a CSV table for further analysis or processing.
What it collects:
Bank name
USD buy rate
USD sell rate
Save format:
CSV file with columns: Bank Name, Buy Rate, Sell Rate
Used libraries:
requests — for fetching the HTML code of the page
BeautifulSoup (bs4) — for parsing HTML
lxml — parser for fast processing
csv — for saving results into a table
Result:
After running, you will get a CSV file with the current USD/UAH rate in Ukrainian banks.
Description:
The script automatically collects the USD to UAH exchange rate (buy and sell) from Ukrainian banks on the website minfin.com.ua. The obtained data is stored in a CSV table for further analysis or processing.
What it collects:
Bank name
USD buy rate
USD sell rate
Save format:
CSV file with columns: Bank Name, Buy Rate, Sell Rate
Used libraries:
requests — for fetching the HTML code of the page
BeautifulSoup (bs4) — for parsing HTML
lxml — parser for fast processing
csv — for saving results into a table
Result:
After running, you will get a CSV file with the current USD/UAH rate in Ukrainian banks.