skip to Main Content

Why is HTML Loop only returning data from one page instead of multiple pages?

import requests from bs4 import BeautifulSoup import pandas as pd headers = {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36'} questionlist = [] url = "https://seekingalpha.com/market-news?page=20" r = requests.get(url, headers=headers) soup = BeautifulSoup(r.text, 'html.parser') questions…

VIEW QUESTION
Back To Top
Search