Web Scraper

The Web Scraper for Blockchain.com is a Python program that utilizes the Selenium library to scrape transaction data from the Blockchain.com website. The program extracts transaction JSON data from a specified transaction ID, checks if the transaction is a coinbase transaction, and utilizes a Breadth-First Search algorithm to find the path from the starting transaction to the first coinbase transaction in the blockchain. The program is highly customizable as it allows users to modify the XPath variables for button and JSON text locations, specify a different starting transaction ID, and change the number of retries the program performs if a timeout exception is encountered.

Overall, the Web Scraper for Blockchain.com is a powerful tool for retrieving transaction data and analyzing the blockchain. Its use of the Selenium library allows for the automation of data extraction, while the Breadth-First Search algorithm provides an efficient method for finding coinbase transactions. With its high level of customization, the program can be tailored to meet the needs of users with varying requirements.