Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
MY WEB SCRAPING SCRIPT USING SELENIUM PROCESS
On the processes of writing this script using beautiful soup I encountered a problem that the algo explorer webpage is a dynamic one (i.e the data are loaded dynamically with JavaScript) making the html in the web inspector diffrent from that scraped by beautiful soup .
So I had to change my approach and method using selenium.
Selenium
The second approach I implented to scraping the dynamic web pages uses Python packages capable of executing the JavaScript itself, so that we can scrape the website as we view it in our browser. Selenium works by automating browsers to execute JavaScript to display a web page as we would normally interact with it. These codes illustrate how to use selenium to scrape algo expolorer of the FROM and AMOUNT
check VIDEO
How to Run locally
make sure you have python installed (python-v3+) in your terminal
make sure you have selenium installed
make sure you have pandas installed
make sure you have Chrome webdriver installed and in your path
the csv file is saved as csv and the all the data scraped is appended into an array then converted to a csv file
I hope this script does enough justice to the task
THANK YOU