스타일링 1차 기능 추가
This commit is contained in:
1 parent
3555fa05a2
commit
2140f7d5c8
12 files changed
+531
No files matched your search
@@ -101,6 +101,8 @@ export function parseGoodsId(url: string): string | null {
|
||||
const s = url.trim();
|
||||
if (!s) return null;
|
||||
const m =
|
||||
// 인터파크 주소는 야놀자로 리다이렉트된다. 상품 번호는 양쪽이 같다
|
||||
s.match(/nol\.yanolja\.com\/ticket\/products\/(\d{5,})/i) ??
|
||||
s.match(/tickets\.interpark\.com\/goods\/(\d{5,})/i) ??
|
||||
s.match(/nol\.interpark\.com\/[^?]*?(\d{8,})/i) ??
|
||||
s.match(/[?&]goodsCode=(\d{5,})/i) ??
|
||||
|
||||
Reference in new issue
Block a user