Skip to content

Commit

Permalink
Fix codes HTTP to HTTPS
Browse files Browse the repository at this point in the history
The `isin.twse.com.tw` no longer accepted HTTP connection.
  • Loading branch information
JeffBla authored and mlouielu committed May 15, 2024
1 parent 3324a6d commit 5319e06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions twstock/codes/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

from twstock.proxy import get_proxies

TWSE_EQUITIES_URL = "http://isin.twse.com.tw/isin/C_public.jsp?strMode=2"
TPEX_EQUITIES_URL = "http://isin.twse.com.tw/isin/C_public.jsp?strMode=4"
TWSE_EQUITIES_URL = "https://isin.twse.com.tw/isin/C_public.jsp?strMode=2"
TPEX_EQUITIES_URL = "https://isin.twse.com.tw/isin/C_public.jsp?strMode=4"
ROW = namedtuple(
"Row", ["type", "code", "name", "ISIN", "start", "market", "group", "CFI"]
)
Expand Down

0 comments on commit 5319e06

Please sign in to comment.