I’m parsing through a website to find information regarding company job descriptions. I’ve been able to parse through the companies content, but am now looking to extract the particular job titles. I’m using the job.find() find method to extract the info but I’m presented with a TypeError:
find() takes no keyword arguments
job_id = [] post_title = [] company_name = [] post_date = [] job_location = [] job_desc = [] level = [] emp_type = [] functions = [] industries = [] for job in job_container: # job title job_titles = job.find("a", class_='disabled ember-view job-card-container__link job-card-list__title').text post_title.append(job_titles) /////// Prints: find() takes no keyword argumentspageSource = driver.page_source lxml_soup = BeautifulSoup(pageSource, 'lxml') # searching for all job containers job_container = lxml_soup.find('ul', class_ = 'jobs-search-results__list list-style-none') print('You are scraping information about {} jobs.'.format(len(job_container))) /////// Prints: You are scraping information about 51 jobs.
basiko1001 Answered question July 1, 2021
I got the same problem for the LinkedIn Job Scraper. I am using the same code and it doesn’t work…
ozturrrrkkk Answered question July 1, 2021
Recent Comments