Nv7-GitHub / googlesearch

A Python library for scraping the Google search engine.
https://pypi.org/project/googlesearch-python/
MIT License
480 stars 117 forks source link

Add sponsored search results and Pandas DataFrame conversion #69

Open engjellavdiu opened 11 months ago

engjellavdiu commented 11 months ago

Summary

This PR adds two new features to the library, as suggested in Issue #11:

  1. Sponsored search results: The search function now accepts a sponsored boolean flag to fetch sponsored search results.
  2. Pandas DataFrame Conversion: Introduced a to_df function to convert search results into a Pandas DataFrame.

Changes

How to Test

  1. Perform a search with the sponsored=True flag.
  2. Convert the search results to a Pandas DataFrame using the to_df function.

Issue Link

Closes #11

engjellavdiu commented 10 months ago

Looks good, have you tested this? Thanks for the PR! Yes.