Can't scrape names from next pages using requests
问题 I'm trying to parse names traversing multiple pages from a webpage using a python script. With my current attempt I can get the names from it's landing page. However, I can't find any idea to fetch the names from next pages as well using requests and BeautifulSoup. website link My attempt so far: import requests from bs4 import BeautifulSoup url = "https://proximity.niceic.com/mainform.aspx?PostCode=YO95" with requests.Session() as s: r = s.get(url) soup = BeautifulSoup(r.text,"lxml") for