Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

金管會公司清單更新 #171

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions crawler/thaubing_esg/spiders/company_twse.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class CompanyTwseSpider(CSVFeedSpider):
name = 'company_twse'
start_urls = [
'https://mopsfin.twse.com.tw/opendata/t187ap03_L.csv', # 上市公司 https://data.gov.tw/dataset/18419
'https://mopsfin.twse.com.tw/opendata/t187ap03_O.csv', # 上櫃公司 https://data.gov.tw/dataset/25036
'https://mopsfin.twse.com.tw/opendata/t187ap03_R.csv', # 興櫃公司 https://data.gov.tw/dataset/28568
'https://mopsfin.twse.com.tw/opendata/t187ap03_P.csv', # 公開發行公司 https://data.gov.tw/dataset/28567
]
Expand All @@ -29,6 +30,7 @@ def parse_row(self, response, row):
def _parse_company_type(self, response_url):
switcher = {
't187ap03_L': '上市公司',
't187ap03_O': '上櫃公司',
't187ap03_R': '興櫃公司',
't187ap03_P': '公開發行公司',
}
Expand Down
Loading