Open the connection to indeed.com using BeautifulSoup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# load the library | |
from bs4 import BeautifulSoup as Soup | |
import urllib, requests, re, pandas as pd | |
# indeed.com url | |
base_url = 'http://www.indeed.com/jobs?q=data+scientist&jt=fulltime&sort=' | |
sort_by = 'date' # sort by data | |
start_from = '&start=' # start page number | |
pd.set_option('max_colwidth',500) # to remove column limit (Otherwise, we'll lose some info) | |
df = pd.DataFrame() # create a new data frame |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Where's the rest of the project?