Skip to content

Add debugging scripts and comprehensive tests for Googer library#14

Merged
CocoRoF merged 2 commits intodeployfrom
main
Mar 17, 2026
Merged

Add debugging scripts and comprehensive tests for Googer library#14
CocoRoF merged 2 commits intodeployfrom
main

Conversation

@CocoRoF
Copy link
Copy Markdown
Owner

@CocoRoF CocoRoF commented Mar 17, 2026

  • Introduced debug_html.py to fetch and save HTML responses from Google searches using different user agents.
  • Created debug_parse.py to parse the saved GSA HTML using BeautifulSoup and extract relevant data.
  • Added debug_selectors.py and debug_selectors2.py to check for specific selectors in the HTML and analyze their occurrences.
  • Developed debug_site.py to test the site operator functionality within the Googer library.
  • Implemented test_comprehensive.py for a thorough test of Googer library features, including context manager usage and query building.
  • Added test_googer.py for a simple test case demonstrating basic search functionality.

CocoRoF added 2 commits March 17, 2026 22:14
- Introduced `debug_html.py` to fetch and save HTML responses from Google searches using different user agents.
- Created `debug_parse.py` to parse the saved GSA HTML using BeautifulSoup and extract relevant data.
- Added `debug_selectors.py` and `debug_selectors2.py` to check for specific selectors in the HTML and analyze their occurrences.
- Developed `debug_site.py` to test the site operator functionality within the Googer library.
- Implemented `test_comprehensive.py` for a thorough test of Googer library features, including context manager usage and query building.
- Added `test_googer.py` for a simple test case demonstrating basic search functionality.
- Deleted `debug_html.py`, `debug_parse.py`, `debug_selectors.py`, `debug_selectors2.py`, `debug_site.py`, `test_comprehensive.py`, and `test_googer.py` as they are no longer needed.
- Simplified the `HttpClient` struct initialization in `http_client.rs`.
- Improved formatting in the GET request logging and headers setting in `http_client.rs`.
- Cleaned up the `build_region_params` function in `utils.rs` for better readability.
@CocoRoF CocoRoF merged commit 00d01c1 into deploy Mar 17, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant