package mask;
import tool.*;
public class pro {
int s,datanumber;
String[] data=new String[50000];
String[] title=new String[500];
String[] id=new String[500];
int number;
public static void main(String[] args) {
pro test=new pro();
}
pro(){
readfile sub5=new readfile();
sub5.makedata("56.txt","UTF-8");
data=sub5.data;
number=sub5.datanumber;
for(s=1;s<number+1;s++){
String[] x=data[s].split(",");
id[s]=x[1];
}
int tr=61576;
for(tr=1;tr<number+1;tr++){
String urlx="http://www.tvdrama-db.com/drama_info/p/id-"+id[tr];
getdata sub9=new getdata();
sub9.makedata(urlx,"UTF-8");
data=sub9.data;
datanumber=sub9.datanumber;
writefile sub8=new writefile();
sub8.data=data;
sub8.datanumber=datanumber;
sub8.makedata("data/"+id[tr]+".txt");
}
}
int num_int(String str){
int nx;
nx=0;
try{
nx=Integer.parseInt(str);
}catch (Exception e) {}
return nx;
}
最終更新:2017年12月13日 03:03