mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[PR #1276] [MERGED] Revert leta #1147
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#1147
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/benbusby/whoogle-search/pull/1276
Author: @Don-Swanson
Created: 11/24/2025
Status: ✅ Merged
Merged: 11/26/2025
Merged by: @Don-Swanson
Base:
main← Head:revert_leta📝 Commits (6)
00d8aecReverted to Before Leta Integration, and re-added other changes that were not Leta.5f17b82up pytest to fix errors9b3a6ceUpdate README and codebase to enhance User Agent handling490fc6cUA ua_generator and generate_uas.py updates65326e3Refactor User Agent handling in request.py and ua_generator.py1d3bd49Merge branch 'main' into revert_leta📊 Changes
18 files changed (+1340 additions, -63 deletions)
View changed files
➕
.github/workflows/.pre-commit-config.yaml(+12 -0)📝
.github/workflows/buildx.yml(+1 -1)📝
.github/workflows/pypi.yml(+1 -1)📝
README.md(+153 -10)📝
app/__init__.py(+11 -0)📝
app/models/config.py(+6 -2)📝
app/request.py(+61 -35)📝
app/routes.py(+8 -0)📝
app/templates/footer.html(+3 -0)📝
app/templates/index.html(+5 -0)📝
app/utils/misc.py(+8 -12)➕
app/utils/ua_generator.py(+336 -0)📝
app/version.py(+2 -1)➕
misc/check_google_user_agents.py(+363 -0)➕
misc/generate_uas.py(+198 -0)📝
requirements.txt(+1 -1)📝
test/conftest.py(+35 -0)➕
test/mock_google.py(+136 -0)📄 Description
In this release, we reverted the Mullvad Leta implementation. It served us well and we’re grateful for it, but it’s time to let it take its final voyage to Valhalla. In its place, we added a feature that can randomly generate UA strings based on patterns we found in the ones that still work. You can also bring your own rotating list or stick with a static UA if that’s your thing. There’s a config toggle that shows the active UA at the bottom of the results to help with debugging. On top of that, we added two small tools that let you generate offline UA lists and automatically test them. The second of which was instrumental in finding the working string patterns we’re using now.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.