mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-26 04:35:54 +03:00
[PR #1286] [MERGED] Updates, Features, and Bugfixes; Oh My! #1150
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#1150
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/1286
Author: @Don-Swanson
Created: 12/29/2025
Status: ✅ Merged
Merged: 12/29/2025
Merged by: @Don-Swanson
Base:
main← Head:updates📝 Commits (5)
ff3a44bRefactor configuration and session management in the application6c7ca7c- Add modern Google Images parsing (udm=2) and use view_image to render extracted image results, with Chrome UA and forced image endpoint for tbm=isch/udm=2.9c5b315Add method to remove AI Overview sections from search results4852e5bImplement Google Custom Search (BYOK) feature with configuration options and API client255f1a2Bump version to 1.2.2📊 Changes
15 files changed (+1150 additions, -108 deletions)
View changed files
📝
README.md(+104 -7)📝
app/__init__.py(+53 -15)📝
app/filter.py(+228 -22)📝
app/models/config.py(+35 -3)📝
app/request.py(+45 -13)📝
app/routes.py(+80 -28)➕
app/services/cse_client.py(+452 -0)📝
app/static/widgets/calculator.html(+5 -2)📝
app/templates/imageresults.html(+29 -5)📝
app/templates/index.html(+24 -0)📝
app/utils/search.py(+90 -4)📝
app/version.py(+2 -2)📝
docker-compose.yml(+2 -3)📝
requirements.txt(+1 -1)📝
whoogle.template.env(+0 -3)📄 Description
This pull request introduces several improvements and fixes to both the documentation and the core filtering logic of the application. The most notable changes include the addition of support and documentation for Google Custom Search (BYOK), enhanced session key management for better security, and new filtering features to remove unwanted elements (such as AI Overview results and stray dark theme toggles) from search results. The code also improves the handling and styling of search results for clarity and consistency.
Documentation updates:
README.mddescribing how to use Google Custom Search (BYOK), including environment variables, setup instructions, pricing, limitations, and troubleshooting.README.mdto include the new BYOK section and adjusted numbering for clarity. [1] [2]Security and configuration:
app/__init__.pyto prioritize environment variable, then file, then generate a new key, with validation and warnings for short or missing keys.Search result filtering and UI improvements:
Code quality and robustness:
sanitize_div, for greater reliability.These changes collectively improve the application's usability, reliability, and maintainability.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.