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

Improve HTML link extraction #72

Merged
merged 1 commit into from
Mar 21, 2017

Conversation

sebastian-nagel
Copy link
Contributor

- add extractors for more elements which can take URLs as attribute
  values, add missing attributes
- generalize extraction of "global" attributes (`background`)
- add custom data attributes frequently used for linking (`data-href`,
  `data-uri`)
- add unit test to cover link extraction
@sebastian-nagel sebastian-nagel force-pushed the wat-improved-link-extraction branch from 3ee87b7 to 11579c2 Compare February 22, 2017 13:07
sebastian-nagel added a commit to commoncrawl/ia-web-commons that referenced this pull request Feb 22, 2017
Copy link
Member

@ldko ldko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me and extracted/wrote more links to the WAT I generated with the changes. Thanks @sebastian-nagel !

@ldko ldko merged commit 11579c2 into iipc:master Mar 21, 2017
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.

2 participants