Tracking currency changes from the site and keeping history in JSON
The task is to immediately inform the user of the changes to each currency on the site, as well as to fix these changes (with the date indication) in the json format.
Solution: With the help of the Selenium parsing library I attach to each column in the table and track the changes every second. To check the last value in the dictionary, I add the last key and compare it with it.
Feature: Due to the high cost of connecting to the API of cryptocurrency sites, parsing data from a page is the most profitable solution, although not the optimal.
#python #Parsing #selenium #cryptocurrencies #scraping #html #analysis #cryptocurrencies
Solution: With the help of the Selenium parsing library I attach to each column in the table and track the changes every second. To check the last value in the dictionary, I add the last key and compare it with it.
Feature: Due to the high cost of connecting to the API of cryptocurrency sites, parsing data from a page is the most profitable solution, although not the optimal.
#python #Parsing #selenium #cryptocurrencies #scraping #html #analysis #cryptocurrencies