LuanRT / google-this

A simple yet powerful module to retrieve organic search results and much more from Google.
https://www.npmjs.com/package/googlethis
MIT License
323 stars 77 forks source link

1.2.8 - `people_also_ask` returning duplicated values #20

Closed LuanRT closed 2 years ago

LuanRT commented 2 years ago

Expected Behavior

There should not be duplicated values in people_also_ask.

Current Behavior

Occasionally, duplicated values are returned in the people_also_ask array. It appears to be random, but I suspect it happens because the parser goes through the same selector twice.

Steps to Reproduce

  1. Search “black hole” or any other term.
  2. Access the people_also_ask property.
  3. There will be duplicated values in it.

Checklist

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.