mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-23 05:39:22 +08:00
抖音数据
This commit is contained in:
parent
c1986d90bc
commit
89b53aef6c
63
抖音js逆向学习/抖店精选联盟数据/sql/baiyin/eb_supports_baiyin.sql
Normal file
63
抖音js逆向学习/抖店精选联盟数据/sql/baiyin/eb_supports_baiyin.sql
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
-- MySQL dump 10.13 Distrib 8.0.33, for Linux (x86_64)
|
||||||
|
--
|
||||||
|
-- Host: 127.0.0.1 Database: eb_supports_baiyin
|
||||||
|
-- ------------------------------------------------------
|
||||||
|
-- Server version 5.7.42
|
||||||
|
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||||
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||||
|
/*!50503 SET NAMES utf8mb4 */;
|
||||||
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||||
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||||
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||||
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||||
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||||
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `buyin_authorStatData_authorOverviewV2`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `buyin_authorStatData_authorOverviewV2`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
||||||
|
CREATE TABLE `buyin_authorStatData_authorOverviewV2` (
|
||||||
|
`task_id` varchar(100) DEFAULT NULL COMMENT '项目id',
|
||||||
|
`data` mediumtext COMMENT '数据结果',
|
||||||
|
`deduplication` varchar(100) DEFAULT '' COMMENT '去重字段',
|
||||||
|
`status` smallint(6) DEFAULT '0' COMMENT '状态',
|
||||||
|
`create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
|
`update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
|
UNIQUE KEY `task_id` (`task_id`,`deduplication`) USING BTREE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `buyin_authorStatData_seekAuthor`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `buyin_authorStatData_seekAuthor`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
||||||
|
CREATE TABLE `buyin_authorStatData_seekAuthor` (
|
||||||
|
`task_id` varchar(100) DEFAULT NULL COMMENT '项目id',
|
||||||
|
`data` mediumtext COMMENT '数据结果',
|
||||||
|
`deduplication` varchar(150) DEFAULT '' COMMENT '去重字段',
|
||||||
|
`status` smallint(6) DEFAULT '0' COMMENT '状态',
|
||||||
|
`create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
|
`update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
|
UNIQUE KEY `task_id` (`task_id`,`deduplication`) USING BTREE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||||
|
|
||||||
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||||
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||||
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||||
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||||
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
|
-- Dump completed on 2023-07-11 10:53:37
|
23
抖音js逆向学习/抖店精选联盟数据/tool/导出数据库表结构.py
Normal file
23
抖音js逆向学习/抖店精选联盟数据/tool/导出数据库表结构.py
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
import settings
|
||||||
|
import os
|
||||||
|
|
||||||
|
PATH_STR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||||
|
|
||||||
|
|
||||||
|
def export_database_table_structure(host, user, password, db, path):
|
||||||
|
dump101 = f'mysqldump --column-statistics=0 -h {host} -u{user} -p{password} -d {db} > {path}'
|
||||||
|
result = os.system(dump101)
|
||||||
|
print(result)
|
||||||
|
|
||||||
|
|
||||||
|
def daduoduo_tabel():
|
||||||
|
host = settings.mysql_server_baiyin.get('host')
|
||||||
|
user = settings.mysql_server_baiyin.get('user')
|
||||||
|
password = settings.mysql_server_baiyin.get('password')
|
||||||
|
db = settings.mysql_server_baiyin.get('db')
|
||||||
|
path_dir = f'{PATH_STR}/sql/baiyin/{db}.sql'
|
||||||
|
export_database_table_structure(host, user, password, db, path_dir)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
daduoduo_tabel()
|
Loading…
x
Reference in New Issue
Block a user