Skip to content

Update Alipay MCC list from Antom docs - #17

Open
desmondogazebo wants to merge 1 commit into
jleclanche:masterfrom
desmondogazebo:update-alipay-mcc-list
Open

desmondogazebo wants to merge 1 commit into
jleclanche:masterfrom
desmondogazebo:update-alipay-mcc-list

Conversation

@desmondogazebo

Copy link
Copy Markdown

Alipay moved its MCC list to https://docs.antom.com/ac/ref/mcccodes, which links to an XLSX workbook (MCC list).

  • scripts/get_alipay.py now finds that link on the page, downloads the workbook and reads the MCC/Description columns from all sheets (previously scraped an HTML table at the old URL).
  • Regenerated iso18245/data/alipay_list.csv: 940 MCCs (previously 260), including the lower ranges (0742-2842) and the private-use 3000-3999 codes.

Scrape the MCC list workbook linked from docs.antom.com/ac/ref/mcccodes
and read all of its sheets, regenerating alipay_list.csv (940 MCCs).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant