Dependency updates and mtg color fixes
This commit is contained in:
parent
846c928f5f
commit
4548c6083a
4 changed files with 17 additions and 17 deletions
|
@ -9,11 +9,11 @@ namespace WikipediaApi
|
|||
public class WikipediaClient : IWikipediaClient
|
||||
{
|
||||
private readonly HttpClient _httpClient;
|
||||
public WikipediaClient()
|
||||
public WikipediaClient(string language = "en")
|
||||
{
|
||||
_httpClient = new HttpClient
|
||||
{
|
||||
BaseAddress = new Uri("https://en.wikipedia.org")
|
||||
BaseAddress = new Uri($"https://{language}.wikipedia.org")
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue