Web Scraping of Forex and stock market data

Hey everyone!!
Can anyone suggest to me how to store live data from a website every 2 seconds to a CSV file using python script? The website’s URL is this https://deriv.com/. It contains forex and stock market data. You may have to log in and go to the section of the forex where the data will be available in a blue or red background and it gets updated every second. I want to renew the CSV file with the data every 1 or 2 seconds. Please describe the method to me as well. How will we use the inspect option available in google chrome and then use the API calls to pull the data? .Would appreciate your help
Thanks and Regards