Amazing-Python-Scripts/AskUbuntu-Scraper at main · PeggyPro/Amazing-Python-Scripts · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

README.md

Ask Ubuntu

Scrape questions, views, votes, answer counts, and descriptions from Ask Ubuntu website regarding a topic

Create an instance of AskUbuntu class.

questions = AskUbuntu("topic")
Methods Details
.getQuestions() Returns the questions, views, votes, answer counts, and descriptions in JSON format

Example

que = AskUbuntu("github")
scrape = que.getQuestions()