[PR #1212] [MERGED] Add UserAgent Options #1122

Closed
opened 2026-02-25 21:30:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/benbusby/whoogle-search/pull/1212
Author: @Don-Swanson
Created: 1/17/2025
Status: Merged
Merged: 1/17/2025
Merged by: @benbusby

Base: mainHead: main


📝 Commits (3)

  • fbd3cf4 feat: Set Lynx as default user agent and improve custom user agent handling
  • 2772e07 chore: Remove user agent debug logging
  • 81c92fc Add User Agent wiki link, remove whitespace

📊 Changes

4 files changed (+83 additions, -49 deletions)

View changed files

📝 app/models/config.py (+36 -27)
📝 app/request.py (+17 -19)
📝 app/routes.py (+15 -3)
📝 app/templates/index.html (+15 -0)

📄 Description

I've added a new config section that allows a user to choose between Lynx (The current workaround), Random (The Original method), or the ability to enter a custom User Agent String (in the event that Google decides to play whack-a-mole and kill the Lynx workaround, it's easier to choose a different user agent instead of rebuilding)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/benbusby/whoogle-search/pull/1212 **Author:** [@Don-Swanson](https://github.com/Don-Swanson) **Created:** 1/17/2025 **Status:** ✅ Merged **Merged:** 1/17/2025 **Merged by:** [@benbusby](https://github.com/benbusby) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`fbd3cf4`](https://github.com/benbusby/whoogle-search/commit/fbd3cf410438e1f161bb64b9d9305ab042d00737) feat: Set Lynx as default user agent and improve custom user agent handling - [`2772e07`](https://github.com/benbusby/whoogle-search/commit/2772e07458696ea6680ac80ea28b2a11e1157df6) chore: Remove user agent debug logging - [`81c92fc`](https://github.com/benbusby/whoogle-search/commit/81c92fcd95a50841c9b0fa4dc00040edb11c070a) Add User Agent wiki link, remove whitespace ### 📊 Changes **4 files changed** (+83 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `app/models/config.py` (+36 -27) 📝 `app/request.py` (+17 -19) 📝 `app/routes.py` (+15 -3) 📝 `app/templates/index.html` (+15 -0) </details> ### 📄 Description I've added a new config section that allows a user to choose between Lynx (The current workaround), Random (The Original method), or the ability to enter a custom User Agent String (in the event that Google decides to play whack-a-mole and kill the Lynx workaround, it's easier to choose a different user agent instead of rebuilding) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:30:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#1122
No description provided.