I am trying to parse html data from this website with BeautifulSoup, but strangely enough, it returns only the first 50 tags that it finds.
When I search the html code through Google DevTools I get 115 matches for the class name that I am looking for.
url='https://wolt.com/az/aze/baku/restaurant/mcdonalds-nnrimanov-ms'
html=urllib.request.urlopen(url).read()
soup = BeautifulSoup(html,'html.parser')
modules=soup.find_all('div',attrs={'class':'MenuItem-module__content___mNrbB'})
print(len(modules))
Output:
>>> 50
I have tried parsing other pages on this website, and still get only 50 results back.
I have also used the answer from Beautiful Soup findAll doesn't find them all to tweak my code. Any help is appreciated!