Webscraping Using BeautifulSoup: Retrieving source code of a website
问题 Good day! I am currently making a web scraper for Alibaba website. My problem is that the returned source code does not show some parts that I am interested in. The data is there when I checked the source code using the browser, but I can't retrieve it when using BeautifulSoup. Any tips? from bs4 import BeautifulSoup def make_soup(url): try: html = urlopen(url).read() except: return None return BeautifulSoup(html, "lxml") url = "http://www.alibaba.com/Agricultural-Growing-Media_pid144" soup2