Commit Graph

889 Commits

Author SHA1 Message Date
Don 9ff2d2f90a Update buildx.yml 2025-11-26 15:58:45 -06:00
Don f9f54115e3 Delete .github/workflows/.pre-commit-config.yaml 2025-11-26 15:39:54 -06:00
Don c008090d83 Update docker_main.yml 2025-11-26 15:39:43 -06:00
Don 6bcde23501 Update buildx.yml 2025-11-26 15:39:23 -06:00
Don-Swanson 178d67a73f Bump version to update Brotli and fix release issue v1.1.2 2025-11-26 11:01:35 -06:00
Don-Swanson 65326e37b4 Refactor User Agent handling in request.py and ua_generator.py
- Removed hardcoded User Agent strings and replaced them with a fallback mechanism using DEFAULT_FALLBACK_UA.
- Updated gen_user_agent function to ensure compatibility with older configurations.
- Bumped version to 1.1.1 to reflect changes in User Agent management.
2025-11-23 22:16:53 -06:00
Don-Swanson 490fc6c4f9 UA ua_generator and generate_uas.py updates v1.1.1-beta 2025-11-23 21:10:50 -06:00
Don-Swanson 9b3a6ce550 Update README and codebase to enhance User Agent handling
- Revised README to reflect changes in Google search behavior and Whoogle's response strategies.
- Implemented a User Agent pool for improved request handling, including fallback mechanisms.
- Added configuration options for displaying the User Agent in search results.
- Introduced a command-line tool for generating custom User Agent strings.
- Enhanced request headers to include additional parameters for better compatibility with Google services.
2025-11-23 20:35:08 -06:00
Don-Swanson 5f17b82735 up pytest to fix errors 2025-11-23 12:05:45 -06:00
Don-Swanson 00d8aec2fb Reverted to Before Leta Integration, and re-added other changes that were not Leta. 2025-11-22 21:50:01 -06:00
Don-Swanson c46ec6f937 Add clean_text_spacing function to normalize text spacing in search results
This new function addresses spacing issues in text extracted from HTML, ensuring proper formatting for titles and content in the search function. It replaces direct text extraction calls with clean_text_spacing to enhance the overall text quality and consistency.
2025-10-02 08:14:24 -05:00
Don-Swanson 65c0c99dad Fix test_prefs_url 2025-10-01 22:21:17 -05:00
Don-Swanson 20111a8f88 Refactor search function to improve title extraction by including CVA68e class and enhance content retrieval logic with additional snippet class handling, ensuring more accurate results. 2025-10-01 20:58:51 -05:00
Don-Swanson bb3347f7ff Enhance search function to extract title and content separately, maintaining backward compatibility in JSON response. 2025-10-01 19:18:22 -05:00
Don e0a4a5f2cb Merge pull request #1251 from rstefko/images-with-links
Re-enable view_image functionality
2025-09-30 21:09:11 -05:00
Don-Swanson 457725ee5a Enhance link extraction logic in search function to handle cases with no result containers, improving robustness and accuracy of results. 2025-09-30 20:32:51 -05:00
Don-Swanson 442060b2ef Fixed JSON search function to improve link extraction by targeting specific result containers and retrieving all relevant text, enhancing the accuracy of search results. 2025-09-30 20:12:26 -05:00
rstefko ca214cb563 Allow view_image on mobile too, to be able to see origin 2025-09-28 08:46:18 +02:00
rstefko 33cdaf390d Fixed too big images 2025-09-28 08:45:43 +02:00
rstefko 9dd33de91a Seems to be working again with new UA 2025-09-28 08:32:23 +02:00
Don-Swanson 0fe29daaf1 Add pre-release build and push step in GitHub Actions workflow for versioned releases v1.0.0-beta 2025-09-23 23:52:52 -05:00
Don-Swanson 579d983db8 Update GitHub Actions workflows to trigger builds on release events and enforce versioning for PyPI publishing. Change application version to '1.0.0-beta'. 2025-09-23 23:47:11 -05:00
Don-Swanson be83605c77 Update dependencies in requirements.txt and refactor file handling in app initialization and utility functions to use context managers for better resource management. Adjust filter logic to utilize 'string' instead of 'text' for BeautifulSoup queries, enhancing compatibility with future versions. 2025-09-23 22:14:41 -05:00
Don-Swanson ffdeeb5f44 Enhance autocomplete functionality by adding environment variable check to enable/disable it globally. Improve error handling in HTTP client for closed connections and add client recreation logic. Refactor link extraction to avoid details elements in search results. 2025-09-23 21:37:21 -05:00
Don-Swanson 99c7c7b00d Refactor search and test files to ensure proper context usage for Config initialization. Updated search function to use fallback for full_query and adjusted tests to utilize app context for Config instantiation. 2025-09-21 00:24:22 -05:00
Don-Swanson 7f80eb1e51 feat(beta): httpx migration, Tor/proxy refactor, JSON results, alt-link fixes, tests, optional static bundling, HTTP/2 env toggle, cleanup 2025-09-21 00:11:54 -05:00
Don 418d9df89c Merge pull request #1242 from benbusby/dependabot/pip/jinja2-3.1.6
Bump jinja2 from 3.1.5 to 3.1.6
2025-09-20 16:45:25 -05:00
Don 3733d87546 Merge pull request #1243 from benbusby/dependabot/pip/cryptography-45.0.7
Bump cryptography from 3.3.2 to 45.0.7
2025-09-20 16:44:29 -05:00
Don 6782413560 Update requirements.txt 2025-09-20 16:24:20 -05:00
Don 1c1dcfc270 Update requirements.txt
Fixed dependency issues
2025-09-20 16:22:19 -05:00
Don ba757b64e8 Update stale.yml 2025-09-15 08:31:29 -05:00
dependabot[bot] 3476367ee1 Bump cryptography from 3.3.2 to 44.0.1
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.3.2 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.3.2...44.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 44.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-14 15:00:08 +00:00
dependabot[bot] 7ce8c0b216 Bump jinja2 from 3.1.5 to 3.1.6
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-version: 3.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-14 14:59:53 +00:00
Don e24f2d751c Create stale.yml
Setup automation to close stale issues to discover what is actually still an issue.
2025-09-14 09:59:04 -05:00
Don ec9e7877b6 Merge pull request #1228 from tunazorlu/turkishtranslation
LGTM
v0.9.4
2025-09-14 08:23:01 -05:00
Don c70497d532 Update countries.json
Macedonia is now North Macedonia
2025-09-14 08:06:52 -05:00
Don 69d1ddae0c Updated UI Config to respect User Agent in ENV file if exists (#1240)
* Updated UI Config to respect User Agent in ENV file if exists

* Updated version number
2025-09-12 19:24:44 -06:00
Yaşar Tuna Zorlu 339eb61cea Turkish Language Translation Update
-Turkish translation added,
-"Turkish language name" in turkish is "Türkçe" so fixed it on languages.json
-Turkey's name changed into Türkiye in 2022 as stated in United Nations (please refer to the UN related webpage: https://bit.ly/turkiyeofficialname). And the order in the language list has also been adjusted so that the letter u is followed by the letter ü when listing Türkiye.
e4cabe
2025-05-03 11:49:05 +03:00
Tingyu e4cabe3e5b Add public instance [skip ci] (#1224)
Adds https://whoogle.4040940.xyz as a public instance

---------

Co-authored-by: Ben Busby <contact@benbusby.com>
2025-03-10 11:57:27 -06:00
Ben Busby f25611cbcb Add 4get as an option for continuing search
Closes #1222
2025-02-25 15:53:46 -07:00
Asmodeus 97502de606 Remove dead instances [skip ci] (#1223)
Removes dead instances from readme and instances txt file

---------

Co-authored-by: Ben Busby <contact@benbusby.com>
2025-02-25 15:29:13 -07:00
Ben Busby 1339c49dc5 Temporarily disable full size image search
The reliance on non-mobile user agents breaks the full size image search
config option, leading to empty image search result pages
2025-01-29 10:50:27 -07:00
Ben Busby dda91ad155 Bump version to 0.9.3 v0.9.3 2025-01-22 12:14:10 -07:00
dependabot[bot] d6c8d73147 Bump jinja2 from 3.1.4 to 3.1.5 (#1209)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 12:11:07 -07:00
cosark 123a00669c Add RepoCloud.io option to readme [skip ci] (#1197)
Adding segment to Readme enabling community access to option to deploy on RepoCloud.io
2025-01-22 12:08:20 -07:00
Joey Chen 5218d97f02 Update helm instructions [skip ci] (#1196)
* Replace `helm install` with `helm upgrade --install`

* Migrate old API (autoscaling/v2beta1) to latest API (autoscaling/v2) and add compatibility with old API

* Set `autoscaling/v2` version target to `v1.23`
2025-01-22 12:06:36 -07:00
Ben Busby fb19bded0d Fix styling of pages using lynx user agent
See #1211
2025-01-22 12:00:57 -07:00
Ben Busby 5701d0d55f Bump version to 0.9.2 v0.9.2 2025-01-19 14:13:56 -07:00
Ben Busby 50625f222f Revert changes to config vars from #1212
Fixes #1214

Fixes #1216
2025-01-19 13:13:14 -07:00
James 99ca67c90e Fix duckduckgo search parameter (#1201)
Removed an extra search parameter: 'search' (lol)
2025-01-17 14:16:03 -07:00