Search WikipediaAPI调用不区分大小写
我正在尝试将大小写不敏感添加到我的WikipediaAPI调用中。维基百科在命名页面时区分大小写。所以,Search WikipediaAPI调用不区分大小写,search,wikipedia,case-insensitive,wikipedia-api,mediawiki-api,Search,Wikipedia,Case Insensitive,Wikipedia Api,Mediawiki Api,我正在尝试将大小写不敏感添加到我的WikipediaAPI调用中。维基百科在命名页面时区分大小写。所以,http://en.wikipedia.org/wiki/Cat将产生一个关于动物的页面,http://en.wikipedia.org/wiki/CAT将生成消歧页面,http://en.wikipedia.org/wiki/CAt将生成页面不存在的通知 我目前的问题是,我想用API像维基百科一样返回页面。我目前正在Python中使用以下API调用: "http://en.wikipedia
http://en.wikipedia.org/wiki/Cat
将产生一个关于动物的页面,http://en.wikipedia.org/wiki/CAT
将生成消歧页面,http://en.wikipedia.org/wiki/CAt
将生成页面不存在的通知
我目前的问题是,我想用API像维基百科一样返回页面。我目前正在Python中使用以下API调用:
"http://en.wikipedia.org/w/index.php?title=" + topic + "&action=render"
当使用GUI的搜索框在维基百科上搜索时,“猫”和“猫”将返回关于该动物的页面,而“猫”和“猫”将返回消歧页面
如何通过API复制此行为?不区分大小写的搜索是通过。区分大小写,还是不区分大小写?行动组要求的是敏感的。不,他们不是。在任何情况下,搜索框都在内部使用OpenSearchAPI。