Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
[jisho] Update API URL from http to https
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Jheng authored and Frank Jheng committed Aug 4, 2020
1 parent 95f1a37 commit f8ddb0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zdict/dictionaries/jisho.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class JishoDict(DictBase):

HOMEPAGE_URL = "https://jisho.org/"
API = 'http://jisho.org/api/v1/search/words?keyword={word}'
API = 'https://jisho.org/api/v1/search/words?keyword={word}'

@property
def provider(self):
Expand Down
2 changes: 1 addition & 1 deletion zdict/tests/dictionaries/test_jisho.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_title(self):

def test__get_url(self):
url = (
'http://jisho.org/api/v1/search/words?keyword={}'
'https://jisho.org/api/v1/search/words?keyword={}'
).format(self.word)
assert url == self.dict._get_url(self.word)

Expand Down

0 comments on commit f8ddb0c

Please sign in to comment.