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

Add support for crawling dynamic content #157

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

navarone-feekery
Copy link
Collaborator

Summary

Crawler only supports static content right now, because the HTTP library we use (apache) doesn't support dynamic content.

Using HtmlUnit, we can crawl web pages with generated content from JavaScript. There are a few differences between HtmlUnit and Apache's HTTP lib, and we want to support both options, so this is also a configurable setting.

Changes

  • Add HtmlUnit support
  • Refactor existing HTTP classes and classes into single Http module
  • Refactor existing Apache client and response classes to use a shared Base class (shared with HtmlUnit)
  • Update Jarfile deps

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