Commit cf7839c
fix(wikipedia): handle branded TLDs in extractBrandFromUrl
hdfc.bank.in was resolving to companyName=bank instead of hdfc because
.bank was not recognized as a multi-part TLD prefix. Add bank, firm,
gen, ind, res, nic to the prefix set (India ccSLD patterns).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a25729b commit cf7839c
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
810 | 821 | | |
811 | 822 | | |
0 commit comments