Quora Question
Extract a Quora question page — full question, all answers with author metadata, and related questions.
API usage
Add &scraper=quora-question to a Crawling API request. URL-encode the target URL in the url parameter.
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
--data-urlencode 'url=https://www.quora.com/Which-is-the-best-tool-for-scraping-customer-reviews' \
--data-urlencode 'scraper=quora-question' -Gfrom crawlbase import CrawlingAPI
api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
'https://www.quora.com/Which-is-the-best-tool-for-scraping-customer-reviews',
{'scraper': 'quora-question'}
)
import json
data = json.loads(res['body'])const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });
const res = await api.get(
'https://www.quora.com/Which-is-the-best-tool-for-scraping-customer-reviews',
{ scraper: 'quora-question' }
);
const data = JSON.parse(res.body);require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')
res = api.get('https://www.quora.com/Which-is-the-best-tool-for-scraping-customer-reviews', scraper: 'quora-question')
data = JSON.parse(res.body)Example input URL
The URL passed in the url parameter (URL-decoded for readability):
https://www.quora.com/Which-is-the-best-tool-for-scraping-customer-reviewsResponse shape
JSON response body. Field types may be null when the source page omits the value.
Question title.
Additional question detail.
Topic tags.
Total answers.
Follower count.
Total views.
Answer objects.
Answer author.
Author credentials line.
Answer text.
Upvote count.
Related question URLs and titles.
Sample response
{
"question_title": "Which is the best tool for scraping customer reviews?",
"answer_count": 14,
"follower_count": 42,
"answers": [
{
"author_name": "John Smith",
"author_credentials": "Data Engineer",
"upvotes": 218
}
]
}
