lagranges / people_also_ask

Python wrapper for google people-alos-ask
MIT License
100 stars 44 forks source link

Feature request - Combining questions with answers #2

Open hakkikonu opened 3 years ago

hakkikonu commented 3 years ago

combining generate_related_questions with get_answer is good idea for infinite question / answer generation :) When request made with one of these methods we already have dom.

like

include_answer = true # new argument

for question in people_also_ask.generate_related_questions("is universe infinite?", include_answer):
    print(question) # print question + get_answer's() answer object