Skip to content

Conversation

@shadlia
Copy link

@shadlia shadlia commented Jan 5, 2026

What was added

  • Re-added extraction of the profile headline (job title) which was removed in a recent update.
  • The headline is now captured from div.text-body-medium.break-words.

Why

  • After the recent changes to the library, the headline extraction was no longer available.
  • I needed it for my project, so I added it back to restore full functionality for users who rely on it.

How to test

  • Run the scraper on a LinkedIn profile and verify that headline is populated correctly.
  • Example usage:
headline = await scraper.safe_extract_text('div.text-body-medium.break-words')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant