title: Scraping infinite scrolling yahoo finance historical data
body: <p>I'm trying to <strong>scrape</strong> past 5 years yahoo finance historical data for a particular stock. I have implemented a python code that is <strong>scraping</strong> each row of the table containing historical data. I know there are simpler ways to fetch historical data but I want to do it with <strong>scraping</strong>. The problem is yahoo finance has infinte scrolling implmented in it i.e. as soon as I reach the end of the website more rows are getting added dynamically to the table. But my code is fetching rows till the end of first page only and not the complete 5 years data. Here is the sample of the code that I'm trying:</p>
  <p>After navigating to the rows during <strong>scraping</strong> part-</p>
  <pre><code>tableRows = table.find_all('tr', class_='BdT Bdc($seperatorColor) Ta(end) Fz(s) Whs(nw)')
  </code></pre>
  <p>I'm further extracting values from these rows</p>