Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update company.py #112

Merged
merged 1 commit into from
Aug 26, 2021
Merged

Update company.py #112

merged 1 commit into from
Aug 26, 2021

Conversation

Alex-Bujorianu
Copy link
Contributor

Change the assignment of grid to find the element by the necessary classname (artdeco-card.p4.mb3) instead of the section number. This fixes the issue where a lot of fields were empty/null. But this isn’t very resilient to any changes LinkedIn might make to their classnames. I am not sure if it is better to use this approach or the numbering approach.

Change the assignment of grid to find the element by the necessary classname (artdeco-card.p4.mb3) instead of the section number. This fixes the issue where a lot of fields were empty/null. But this isn’t very resilient to any changes LinkedIn might make to their classnames. I am not sure if it is better to use this approach or the numbering approach.
@joeyism joeyism merged commit 5131b28 into joeyism:master Aug 26, 2021
@persimmon2500
Copy link

@Alex-Bujorianu --

I like the change that you made.

As you predicted the numbers have changed. On a company's About page, the Overview section is now called artdeco-card p5 mb4.

If you get a chance, would you be willing to submit a PR to update this? (I am a bit nervous submitting a PR myself because I think you understand this better than I do.)

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.

None yet

3 participants