mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[PR #792] [MERGED] Fixes handling of maps #976
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#976
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/792
Author: @jacr13
Created: 6/15/2022
Status: ✅ Merged
Merged: 6/27/2022
Merged by: @benbusby
Base:
main← Head:fix_maps_url📝 Commits (2)
aed068efixes map url, e.g. when no q parameter is given98fde77move maps_args from results to filter where it is used📊 Changes
1 file changed (+25 additions, -1 deletions)
View changed files
📝
app/filter.py(+25 -1)📄 Description
When there is no q parameter in google maps, the directions url in search results points to an empty location.
This workaround fixes it by looking for other parameters that explain the location, if none is found it returns the true url.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.