5hirish / adam_qas

ADAM - A Question Answering System. Inspired from IBM Watson
http://www.shirishkadam.com/
GNU General Public License v3.0
357 stars 106 forks source link

Implement custom Wikipedia scrapper #9

Closed 5hirish closed 6 years ago

5hirish commented 7 years ago
https://en.wikipedia.org/w/api.php [EndPoint] [User-Agent header]
 > format:json
 > action:query

    list:search

    srsearch: Search for all page titles (or content) that have this value.
    srwhat: Search inside the text or titles.
    srlimit: How many total pages to return. No more than 50 (500 for bots) allowed. (Default: 10)
5hirish commented 6 years ago
https://en.wikipedia.org/w/api.php [EndPoint] [User-Agent header]
 > format:json
 > action:parse

    pageid: Parse the content of this page. Overrides page.

    prop:text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle|iwlinks|properties|parsewarnings