使用beautifulsoup解析<div is =“null”>

时间:2016-10-06 12:07:51

标签: python html beautifulsoup

我正在尝试使用Beautifulsoup获取子div标记 - div下的所有<div is="null">标记。当我这样做时:

我正试图在Flipkart上抓这个页面:

wiki = "https://www.flipkart.com/mobiles/pr?sid=tyy,4io&otracker=nmenu_sub_Electronics_0_Mobiles"
url = urllib2.urlopen(wiki)
soup = BeautifulSoup(url)
div = soup.find_all('div')

0 个答案:

没有答案