Skip to content

Replace abandoned random-user-agent with fake-useragent#3

Open
nagapraneethk wants to merge 1 commit intoCompassSecurity:mainfrom
nagapraneethk:replace-random-user-agent-with-fake-useragent
Open

Replace abandoned random-user-agent with fake-useragent#3
nagapraneethk wants to merge 1 commit intoCompassSecurity:mainfrom
nagapraneethk:replace-random-user-agent-with-fake-useragent

Conversation

@nagapraneethk
Copy link
Copy Markdown

Summary

Replaces the abandoned random-user-agent package with fake-useragent, which provides the same functionality.

Motivation

  • random-user-agent has been unmaintained since 2018
  • Last release: v1.0.1 (Dec 26, 2018)
  • fake-useragent is actively maintained and widely used

Changes

  • Updated requirements.txt and setup.py to use fake-useragent
  • Updated imports and API usage in conkeyscan.py
  • Tested: [add if you tested it locally]

Related to: NixOS/nixpkgs#410837 (removal of random-user-agent from nixpkgs)

random-user-agent has been unmaintained since 2018. This PR switches
to fake-useragent, which provides equivalent functionality and is
actively maintained.

Changes:
- Updated requirements.txt and setup.py dependencies
- Updated imports in conkeyscan.py
- Simplified UserAgent usage per fake-useragent API

Closes nixpkgs issue: NixOS/nixpkgs#410837
nagapraneethk added a commit to nagapraneethk/nixpkgs that referenced this pull request Oct 18, 2025
Applies patch from upstream PR CompassSecurity/conkeyscan#3
to replace the abandoned random-user-agent package with fake-useragent.

Part of NixOS#410837.
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