Guest User

Untitled

a guest
Mar 17th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. page_obj = BeautifulSoup(html_page, "html.parser") # Get the HTML from the indeed search results page
  2. results = page_obj.find_all('a', {'class': 'turnstileLink'}) # Get the information contained in the job postings' link tags.
  3. job_URLS = [base_url + link.get('href') for link in results] # Get the full URLS for the jobs
Add Comment
Please, Sign In to add comment