Posts

Showing posts from September, 2016

jabong seller details

import requests from bs4 import BeautifulSoup from openpyxl import Workbook import urllib3 url=" http://www.jabong.com/ clothing/ " # url=" http://www.jabong.com/ Sangria-Solid-Angrakha-With-3- 4Th-Sleeves-And-Print-Detail- 2182566.html?pos=2 " r= requests.get(url) soup = BeautifulSoup(r.content) soup.prettify() # posts = soup.find_all(attrs={'class': 'post sponsorarea'}) #posts = soup.find_all("div",{"id":" seller-info-content"}) #print posts[0].text wb = Workbook()# grab the active worksheet ws = wb.active# wc = Workbook()# grab the active worksheet wa = wc.active# wa['C1'] = "Jobong data" wa.append(['Product','product Link','seller Address and Email']) posts = soup.find_all("section",{" class":"row search-product animate-products"}) posts1 = posts[0].find_all("div",{" class":"col-...