Skip to content

Commit

Permalink
Use minecraft.wiki (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImUrX authored Sep 24, 2023
1 parent 945284e commit d384b1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

public class WikiRetriever {

private static final String WIKI_HOST = "https://minecraft.gamepedia.com/";
private static final String WIKI_HOST = "https://minecraft.wiki/";
private static final String PAGE_SUMMARY_QUERY = WIKI_HOST + "api.php?action=query&prop=extracts&exintro=true&format=json&titles=%s";
private static final Pattern HTML_TAG_PATTERN = Pattern.compile("<\\s*(/)?\\s*(\\w+).*?>|<!--.*?-->|\n", Pattern.DOTALL);
private static final Formatting CODE_COLOR = Formatting.DARK_GREEN;
Expand Down

0 comments on commit d384b1f

Please sign in to comment.