This python script is designed to scrape live USD/LKR currency rates from various banks in Sri Lanka and Google Finance website. It saves the scraped data in JSON format in a file named export.json.
- Built with the help of the Selenium library.
- Scrapes live USD/LKR currency rate from Sampath Bank, Central Bank, NSB Bank, Peoples Bank and Google Finance website.
- Saves the scraped data as JSON format in export.json.
To run this script, you need to install the following libraries mentioned in the requirements.txt file.
pip install -r requirements.txt
- Python
- Selenium
- BeautifulSoup
Start the server
python3 main.py