ソースを参照

Separate BiliBili International from stream_hk (#53)

Co-authored-by: Sukka <github@skk.moe>
ous50 | ousfifty | 欧式fifty 1 年間 前
コミット
c4149a0b6f
2 ファイル変更8 行追加3 行削除
  1. 3 2
      Build/build-stream-service.ts
  2. 5 1
      Source/stream.ts

+ 3 - 2
Build/build-stream-service.ts

@@ -2,7 +2,7 @@
 import type { Span } from './trace';
 import type { Span } from './trace';
 import { task } from './trace';
 import { task } from './trace';
 
 
-import { ALL, NORTH_AMERICA, EU, HK, TW, JP, KR } from '../Source/stream';
+import { ALL, NORTH_AMERICA, EU, HK, TW, JP, KR, BILI_INTL } from '../Source/stream';
 import { SHARED_DESCRIPTION } from './constants/description';
 import { SHARED_DESCRIPTION } from './constants/description';
 import { RulesetOutput } from './lib/create-file';
 import { RulesetOutput } from './lib/create-file';
 
 
@@ -42,6 +42,7 @@ export const buildStreamService = task(require.main === module, __filename)(asyn
   createRulesetForStreamService(span, 'stream_tw', 'Taiwan', TW),
   createRulesetForStreamService(span, 'stream_tw', 'Taiwan', TW),
   createRulesetForStreamService(span, 'stream_jp', 'Japan', JP),
   createRulesetForStreamService(span, 'stream_jp', 'Japan', JP),
   // createRulesetForStreamService('stream_au', 'Oceania', AU),
   // createRulesetForStreamService('stream_au', 'Oceania', AU),
-  createRulesetForStreamService(span, 'stream_kr', 'Korean', KR)
+  createRulesetForStreamService(span, 'stream_kr', 'Korean', KR),
   // createRulesetForStreamService('stream_south_east_asia', 'South East Asia', SOUTH_EAST_ASIA)
   // createRulesetForStreamService('stream_south_east_asia', 'South East Asia', SOUTH_EAST_ASIA)
+  createRulesetForStreamService(span, 'stream_biliintl', 'Bilibili International', BILI_INTL)
 ]));
 ]));

+ 5 - 1
Source/stream.ts

@@ -880,7 +880,7 @@ export const HK: StreamService[] = [
   VIUTV,
   VIUTV,
   MYTV_SUPER,
   MYTV_SUPER,
   HBO_ASIA,
   HBO_ASIA,
-  BILIBILI_INTL
+  // BILIBILI_INTL
 ];
 ];
 
 
 export const TW: StreamService[] = [
 export const TW: StreamService[] = [
@@ -956,3 +956,7 @@ export const SOUTH_EAST_ASIA = [
   // TV360 VN
   // TV360 VN
   // B-Global VN
   // B-Global VN
 ];
 ];
+
+export const BILI_INTL = [
+  BILIBILI_INTL
+];