- iqiyi
- letv
- sohu
- youku
- mgtv
- pptv
- acfun
- bilibili
在当前目录下新建 config.json 文件, 示例如下.
{
"db":{
"uris": [dburl],
"monitor": [dburl]
}
}
site + uri --> vid, cid --> vids/uris --> plays
tsc
node main/scripts/daily_crawl.js
1. 当前目录下新建 logs 文件夹
2. 执行如下脚本
tsc
node main/scripts/check_play.js
1. 当前目录下新建 logs 文件夹
2. 执行如下脚本
tsc
node main/scripts/export_film.js
1. 当前目录下新建 logs 文件夹
2. 执行如下脚本
tsc
node main/scripts/export_play.js
模板文件在 template 文件夹下
1. 在 input 文件夹下输入需求文件xlsx。例如 文件“20170806-增量需求.xlsx”
2. 执行脚本。例如 node main/exporters/export_film\_sumplay.js 20170806-增量需求
3. 输出文件在 output 文件夹下。
1. 在 input 文件夹下输入需求文件xlsx。例如 文件“20170806-增量需求.xlsx”
2. 执行脚本。例如 node main/exporters/export_film\_dayplay.js 20170806-增量需求
3. 输出文件在 output 文件夹下。
1. 在 input 文件夹下输入需求文件xlsx。例如 文件“20170806-增量需求.xlsx”
2. 执行脚本。例如 node main/exporters/export_film\_info.js 20170806-增量需求
3. 输出文件在 output 文件夹下。
1. 执行脚本。例如 node main/exporters/export_allfilm\_info.js
2. 输出文件在 output 文件夹下。
1. 在 input 文件夹下输入需求文件xlsx。例如 文件“20170806-增量需求.xlsx”
2. 执行脚本。例如 node main/exporters/export_film\_site.js 20170806-增量需求
3. 输出文件在 output 文件夹下。
1. 执行脚本。例如 node main/exporters/export_film\_last.js 2017-12-12
2. 输出文件在 output 文件夹下。
1. 在 input 文件夹下输入需求文件xlsx。例如 文件“20170806-增量需求.xlsx”
2. 执行脚本。例如 node main/exporters/export_sum\_play.js 20170806-增量需求
3. 输出文件在 output 文件夹下。例如 文件“20170806-增量需求-sum-result.xlsx”
1. 在 input 文件夹下输入需求文件xlsx。例如 文件“20170806-分天需求.xlsx”
2. 执行脚本。例如 node main/exporters/export_daily\_play.js 20170806-分天需求
3. 输出文件在 output 文件夹下。例如 文件“20170806-分天需求-daily-result.xlsx”
1. 在 input 文件夹下输入需求文件xlsx。例如 文件“20170806-类型需求.xlsx”
2. 执行脚本。例如 node main/exporters/export_cate\_play.js 20170806-类型需求
3. 输出文件在 output 文件夹下。例如 文件“20170806-类型需求-category-result.xlsx”
- import package
在 korok 下 korok_factory.js 文件添加
if(name == "tag()") {
return elem.name
}