jaypratap
By:
jaypratap

how to extract the anglelist data using python

November 9, 2017 82 views
Python Ubuntu 16.04

from selenium import webdriver
from bs4 import BeautifulSoup

link = 'https://angel.co/companies?locations[]=393668-New+Delhi,+IN'

driver = webdriver.Chrome()
for url in [link.format(i) for i in range(1,6)]:
driver.get(url)
soup = BeautifulSoup(driver.page_source, 'html.parser')
for items in soup.select('.name'):
print(name)
driver.quit

I run the following command but it returns nothing

Be the first one to answer this question.