Skip to content

Commit

Permalink
Merge pull request #54 from WooilJeong/dev
Browse files Browse the repository at this point in the history
Bug Fix #53
  • Loading branch information
WooilJeong authored Aug 22, 2023
2 parents ac7b8f4 + 634d809 commit be3c0b3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion PublicDataReader/config/info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.0.23"
__version__ = "1.0.24"
__author__ = "정우일(Wooil Jeong)"
__contact__ = "[email protected]"
__github__ = "https://github.com/WooilJeong/PublicDataReader"
12 changes: 6 additions & 6 deletions PublicDataReader/ecos/ecos.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_statistic_table_list(self, 통계표코드=None, translate=True):
}
query_params = '/'.join(list(params.values()))
url = f"{self.base_url}/{query_params}"
res = requests.get(url, params=params)
res = requests.get(url, params=params, verify=False)
res_json = res.json()
if res_json.get("RESULT"):
if res_json.get("RESULT").get("MESSAGE"):
Expand Down Expand Up @@ -66,7 +66,7 @@ def get_statistic_word(self, 용어, translate=True):
}
query_params = '/'.join(list(params.values()))
url = f"{self.base_url}/{query_params}"
res = requests.get(url, params=params)
res = requests.get(url, params=params, verify=False)
res_json = res.json()
if res_json.get("RESULT"):
if res_json.get("RESULT").get("MESSAGE"):
Expand Down Expand Up @@ -97,7 +97,7 @@ def get_statistic_item_list(self, 통계표코드, translate=True):
}
query_params = '/'.join(list(params.values()))
url = f"{self.base_url}/{query_params}"
res = requests.get(url, params=params)
res = requests.get(url, params=params, verify=False)
res_json = res.json()
if res_json.get("RESULT"):
if res_json.get("RESULT").get("MESSAGE"):
Expand Down Expand Up @@ -158,7 +158,7 @@ def get_statistic_search(self, 통계표코드, 주기, 검색시작일자, 검
}
query_params = '/'.join(list(params.values()))
url = f"{self.base_url}/{query_params}"
res = requests.get(url, params=params)
res = requests.get(url, params=params, verify=False)
res_json = res.json()
if res_json.get("RESULT"):
if res_json.get("RESULT").get("MESSAGE"):
Expand All @@ -183,7 +183,7 @@ def get_key_statistic_list(self, translate=True):
}
query_params = '/'.join(list(params.values()))
url = f"{self.base_url}/{query_params}"
res = requests.get(url, params=params)
res = requests.get(url, params=params, verify=False)
res_json = res.json()
if res_json.get("RESULT"):
if res_json.get("RESULT").get("MESSAGE"):
Expand Down Expand Up @@ -214,7 +214,7 @@ def get_statistic_meta(self, 데이터명, translate=True):
}
query_params = '/'.join(list(params.values()))
url = f"{self.base_url}/{query_params}"
res = requests.get(url, params=params)
res = requests.get(url, params=params, verify=False)
res_json = res.json()
if res_json.get("RESULT"):
if res_json.get("RESULT").get("MESSAGE"):
Expand Down
2 changes: 1 addition & 1 deletion PublicDataReader/fred/fred.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_data(self, api_name, **kwargs):
"file_type": "json",
}
params.update(kwargs)
res = requests.get(url, params=params)
res = requests.get(url, params=params, verify=False)
data = res.json()

key_list = [
Expand Down

0 comments on commit be3c0b3

Please sign in to comment.