Solution Review: Scrape Top Indices Data from Yahoo Finance

Review the solution for extracting market data.

We'll cover the following

Solution approach

  • Get the top 3 indices from the main URL.

  • Extract the URL for the indices.

  • Loop through them and visit each URL.

  • Find the rows' elements and scroll to get the required elements.

  • Get the requested data from each row.

Get hands-on with 1400+ tech skills courses.