package pic;
import tool.*;
import java.io.File;
public class pro {
int s,datanumber;
String[] data=new String[40000];
String[] link=new String[40000];
String[] name=new String[40000];
String[] music=new String[40000];
public static void main(String[] args) {
pro t=new pro();
}
pro(){
String urlx="http://www.oricon.co.jp/prof/320581/";
getdata sub2=new getdata();
sub2.makedata(urlx,"SJIS");
data=sub2.data;
datanumber=sub2.datanumber;
String date="artist-introduction-pic";
String str="";
int s1=1;
for(s=1;s<datanumber;s++){
if(data[s].indexOf(date)>-1)str=data[s];
}
int p1=str.indexOf("http://contents.oricon.co");
int p2=-1;
if(p1>-1)p2=str.indexOf("\"",p1);
if(p1>-1)str=str.substring(p1,p2);
System.out.println(str);
}
String change(String str){
int n;
for(n=1;n<11;n++){
str=rev(str);
}
str=str.replace(" ","");
return str;
}
String rev(String str){
if(str==null)str="";
int p1=str.indexOf("<");
int p2=str.indexOf(">",p1);
String strx="";
if(p2>-1)strx=str.substring(p1,p2+1);
str=str.replace(strx,"");
return str;
}
}
最終更新:2016年09月09日 09:14