Skip to content

Conversation

@warrior-hub
Copy link

Problem:

  • Web scrapers did not declare a User-Agent.
  • Some websites block requests without a proper User-Agent.

Solution:

  • Added a default User-Agent: VulnerableCode
  • Configurable via environment variable: VULNERABLECODE_USER_AGENT
  • Created helper function http.get() to be used for all future requests

This addresses issue #410

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