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.

Source Distribution

qaquora-0.4.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file qaquora-0.4.tar.gz.

File metadata

  • Download URL: qaquora-0.4.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for qaquora-0.4.tar.gz
Algorithm Hash digest
SHA256 ac1a9ed0aa45cba48975b1e926c534838c5f85af14ecb42ec97993f54c849c58
MD5 3f6142fd30c1fa5931690cdf2f6aae45
BLAKE2b-256 ae9c1d7d0932f32ef7afd6cd41c3554375ebfe495571eaa37390f884acff70ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page