Skip to main content

This is a python package to extra all questions and answers related to any topic on quora

Project description

Quora-Scraper

This package will allow you to scrap all Questions-Answers related to any topic e.g. mathematics-and-physics,coronavirus etc from Quora.

It includes two functions for now-

  • quora_scrap(self,keyword,PATH)

arguments-

keyword - keyword is an argument which describes your topic for e.g coronavirus,coronavirusinindia etc.

PATH - to define path of chromedriver.exe file

return-

questions - questions scrapped for keyword

answers - answers scrapped for each question

final_qa_dict - dictionary of scrapped questions-answers

  • save_to_csv(self,filename,questions,final_question_answer_pairs_quora_dict)

arguments-

filename - specify name of your csv file

questions - questions returned by function 'quora_scrap'

final_question_answer_pairs_quora_dict - specifies question-answer dictionary returned by function 'quora_scrap'

If anyone wants to contribute in this project,feel free to do.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for qaquora, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size qaquora-0.4.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page