redirect - Constrain Wikipedia Search API to generate only NS:0 pages -


i calling wikipedia api java using following search query generate redirected pages:

https://en.wikipedia.org//w/api.php?format=json&action=query&generator=allpages&gapfilterredir=redirects&prop=links&continue=&gapfrom=d

where final 'd' example continue-from.

i interested in iterating on items in namespace:0. in fact, if don't, continue return value includes category pages, break next query iteration.

thank in advance.

the parameter need allpages api is

…&gapnamespace=0&… 

but notice when omit it, 0 default anyway.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -