24 lines
1.3 KiB
SQL
24 lines
1.3 KiB
SQL
-- 新平台解析接口初始化数据
|
|
-- 执行方式: mysql -u root -p video_parser < database/new_platforms.sql
|
|
|
|
-- 快手解析接口
|
|
INSERT INTO `parser_apis` (`name`, `platform`, `api_url`, `api_key`, `weight`, `is_enabled`, `health_status`) VALUES
|
|
('BugPK快手API', 'kuaishou', 'https://api.bugpk.com', '', 1, 1, 1),
|
|
('优创快手API', 'kuaishou', 'http://apis.uctb.cn', '', 1, 1, 1);
|
|
|
|
-- 皮皮虾解析接口
|
|
INSERT INTO `parser_apis` (`name`, `platform`, `api_url`, `api_key`, `weight`, `is_enabled`, `health_status`) VALUES
|
|
('BugPK皮皮虾API', 'pipixia', 'https://api.bugpk.com', '', 1, 1, 1),
|
|
('优创皮皮虾API', 'pipixia', 'http://apis.uctb.cn', '', 1, 1, 1);
|
|
|
|
-- 微博解析接口
|
|
INSERT INTO `parser_apis` (`name`, `platform`, `api_url`, `api_key`, `weight`, `is_enabled`, `health_status`) VALUES
|
|
('优创微博API', 'weibo', 'http://apis.uctb.cn', '', 1, 1, 1),
|
|
('妖狐微博API', 'weibo', 'https://api.yaohud.cn', 'SM227DLC0ZgJ6DXJhAx', 1, 1, 1);
|
|
|
|
-- 健康检查配置
|
|
INSERT INTO `health_check_config` (`platform`, `test_url`, `check_interval`, `is_enabled`) VALUES
|
|
('kuaishou', 'https://www.kuaishou.com/f/X-1ZPlLXEI6SP1mx', 300, 1),
|
|
('pipixia', 'https://h5.pipix.com/s/kLUS2a4iJ_M/', 300, 1),
|
|
('weibo', 'https://video.weibo.com/show?fid=1034:5233299304415254', 300, 1);
|