Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions linkedin_scraper/company.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def scrape_logged_in(self, get_employees = True, close_on_complete = True):
section_id = 3
#section ID is no longer needed, we are using class name now.
#grid = driver.find_elements_by_tag_name("section")[section_id]
grid = driver.find_element_by_class_name("artdeco-card.p4.mb3")
grid = driver.find_element_by_class_name("artdeco-card.p5.mb4")
print(grid)
descWrapper = grid.find_elements_by_tag_name("p")
if len(descWrapper) > 0:
Expand Down Expand Up @@ -346,6 +346,6 @@ def __repr__(self):
_output['founded'] = self.founded
_output['affiliated_companies'] = self.affiliated_companies
_output['employees'] = self.employees

return json.dumps(_output).replace('\n', '')