We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67bdd2d + fffbe4c commit 9330afdCopy full SHA for 9330afd
core/src/main/scala/org/dbpedia/extraction/util/WikiApi.scala
@@ -119,7 +119,7 @@ class WikiApi(url: URL, language: Language)
119
{
120
for(titleGroup <- titles.grouped(pageDownloadLimit))
121
122
- val response = query("?action=query&format=xml&prop=revisions&titles=" + titleGroup.map(_.encodedWithNamespace).mkString("|") + "&rvprop=ids|content|timestamp|user|userid")
+ val response = query("?action=query&format=xml&prop=revisions&titles=" + titleGroup.map(t => URLEncoder.encode(t.encodedWithNamespace, "UTF-8")).mkString("|") + "&rvprop=ids|content|timestamp|user|userid")
123
processPages(response, proc)
124
}
125
0 commit comments