What's Changed
- Fixed a bug in SerpResults.yield_pages to ensure it does not request more pages than specified by max_pages. The bug caused two network requests to be sent when max_pages was set to 1.
- Added a parameterized test in tests/test_pagination.py to verify that pagination stops at the correct number of pages and does not make unnecessary requests.
- Enhancements to test parameters and examples
Full Changelog: v1.1.1...v1.1.2