Added Kanji cog
This commit is contained in:
parent
f27d195964
commit
66e8cc9250
2 changed files with 15 additions and 1 deletions
|
@ -63,7 +63,7 @@ class JishoResponse():
|
|||
|
||||
def query(self):
|
||||
url = TEMPLATE_URL.format(urllib.parse.quote_plus(self.query_string))
|
||||
r = requests.get(url)
|
||||
r = requests.get(url, headers=HEADER)
|
||||
|
||||
if r.status_code != 200:
|
||||
print(f"ERROR: Failed to access Jisho API... {r.status_code}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue