Данные, которые вы видите на странице, хранятся как Json внутри элемента <script>
.
import json
import requests
from bs4 import BeautifulSoup
url = 'https://www.walmart.com/store/finder?location=02468&distance=100'
soup = BeautifulSoup(requests.get(url).content, 'html.parser')
data = json.loads(soup.select_one('#storeFinder').string)
# uncomment this to print all data:
# print(json.dumps(data, indent=4))
# print some data to screen:
for store in data['storeFinder']['storeFinderCarousel']['stores']:
print(store['displayName'])
print(store['address']['address'])
print(store['address']['postalCode'], store['address']['city'])
print('-' * 80)
Печать:
Framingham Store
121 Worcester Rd
01701 Framingham
--------------------------------------------------------------------------------
Walpole Supercenter
550 Providence Hwy
02081 Walpole
--------------------------------------------------------------------------------
Quincy Store
301 Falls Blvd
02169 Quincy
--------------------------------------------------------------------------------
...and so on.