描述
分析从Costa Rewrite的公共API返回的数据
先决条件
输入CSV文件
默认CSV文件名example_input.csv
CSV文件必须具有标题视图样本文件example_input.csv
使用默认参数运行
./run.sh
帮助
./run.sh --help
Usage of ./costa-rewrite:
-country string
country filter for some specific word [HK, ID, MY, PH, SG,
rewrite标志R[=code](force redirect) 强制外部重定向
强制在替代字符串加上http://thishost[:thisport]/前缀重定向到外部的URL.如果code不指定,将用缺省的302 HTTP状态码。F(force URL to be forbidden)禁用URL,返回403HTTP状态码。G(force URL to be gone) 强制URL为GONE,返回410HTTP状态码。P(force proxy) 强制使用代理转发。L(last rule)