mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-26 12:45:48 +03:00
[PR #1235] [CLOSED] fix: several bugs affecting alt links #1130
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#1130
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/1235
Author: @RoyalOughtness
Created: 7/16/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (2)
8a24e4afix: don't append wikiless params to wikipedia.org replacements0b2d523remove unused changes📊 Changes
2 files changed (+19 additions, -5 deletions)
View changed files
📝
app/filter.py(+6 -1)📝
app/utils/results.py(+13 -4)📄 Description
This fixes a number of bugs:
A broader refactor is needed to remove this redundancy/inefficiency. However, this PR contains the "exit if alt link is already present in the link" statement which is a working bandaid.
Adds edge case handling for simple.wikipedia.org which breaks if the provided alt link is a specific language of wikipedia.org
Fixes the link_desc field so that prefixes aren't ignored. Otherwise, we end up with link_descs like "www.https://old.reddit.com"
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.