Webscraping information off website using python requests
问题 Webscraping https://www.nike.com/w/mens-shoes-nik1zy7ok for shoes. Right now I can retrieve the shoes that initially load, and also the shoes that load as you scroll to the next page with the following code: import re import json import requests from bs4 import BeautifulSoup url = 'https://www.nike.com/gb/w/womens-shoes-5e1x6zy7ok' html_data = requests.get(url).text data = json.loads(re.search(r'window.INITIAL_REDUX_STATE=(\{.*?\});', html_data).group(1)) for p in data['Wall']['products']: