Član
- Učlanjen(a)
- 06.11.2009
- Poruka
- 3
al ima neko kineske ili japanske kanale da gledamo a kazu da su korejski jos bolji ljudiiiiiiiiiiii
Follow along with the video below to see how to install our site as a web app on your home screen.
Beleška: this_feature_currently_requires_accessing_site_using_safari
package com.captiveworks.io;
import com.captiveworks.util.*;
import com.cqs.ftp.FTP;
import java.io.IOException;
import java.io.PrintStream;
import java.net.URL;
import java.util.*;
// Referenced classes of package com.captiveworks.io:
// BoxKeys
public class ChannelListGenerator
{
public ChannelListGenerator()
{
}
public static void main(String args[])
{
String username = "Korisnik";
String password = "lozinka";
WebUtil.cacheWebFile("http://www.arab-tv-net.com/private/get_url.txt", "/tmp/get_url.php");
String fileTextOrig = null;
URL url = null;
FTP ftpServer = null;
try
{
url = new URL("ftp://www.arab-tv-net.com/public_html/arab-tv-net/private");
ftpServer = new FTP(url.getHost());
FTPUtil.connectToFTPServer(username, password, url, ftpServer);
fileTextOrig = FileUtil.getFileText("/tmp/get_url.php");
}
catch(IOException e1)
{
System.out.println("Could not start process");
return;
}
Random random = new Random();
int i = 0;
do
{
String text;
do
{
int randNum = random.nextInt(40000);
String mac = BoxKeys.foo[i][0];
String serial = BoxKeys.foo[i][1];
String box = BoxKeys.foo[i][2];
i = (i + 1) % BoxKeys.foo.length;
String link = "http://iptv.faces.nu/iptv/tv/channels.php?mac=" + mac + "&serial=" + serial + "&stb_id=" + box + "&rnd=" + randNum;
System.out.println(link);
text = WebUtil.getWebFileText(link);
} while(!StringUtils.contains(text, "distribution"));
String list = getChannelsPHP(getChannels(text));
String fileText = StringUtils.replace(fileTextOrig, "$$list$$", list);
FileUtil.writeFileText("/tmp/get_url.php", fileText);
ftpServer.upload("/tmp/get_url.php", "get_url.php");
if(ftpServer.lastCode() != 226)
{
System.out.println("Error Transferring File");
} else
{
System.out.println("File Transferred Successfully");
}
try
{
Thread.sleep(45000L);
}
catch(InterruptedException interruptedexception) { }
} while(true);
}
public static List getChannels(String text)
{
ArrayList channels = new ArrayList();
text = text.substring(text.indexOf("{") + 1, text.length() - 3);
do
{
int index = text.indexOf("}");
if(index == 1)
{
break;
}
String channel = text.substring(1, index);
channels.add(channel);
if(index + 3 >= text.length())
{
break;
}
text = text.substring(index + 3);
} while(true);
return channels;
}
public static String getChannelsPHP(List channels)
{
StringBuffer buffer = new StringBuffer();
Iterator iterator = channels.iterator();
boolean printProcessed = false;
String line;
for(; iterator.hasNext(); buffer.append(line + "\n"))
{
line = (String)iterator.next();
line = StringUtils.replace(line, "\"", "");
line = translateServerAddress(line);
if(!printProcessed)
{
int i = line.lastIndexOf("&");
System.out.println(line.substring(i + 1));
printProcessed = true;
}
String elements[] = line.split(",");
int index = 0;
index++;
String channelName = elements.length > index ? elements[index++] : "";
channelName = StringUtils.replace(channelName, " ", "_");
String channelUrl = elements.length > index ? elements[index++] : "";
channelUrl = StringUtils.replace(channelUrl, "&", "%26");
channelUrl = StringUtils.replace(channelUrl, "httptv:", "http:");
line = "\"" + channelName + "\" => \"" + channelUrl + "\",";
}
return buffer.toString();
}
public static String translateServerAddress(String line)
{
line = StringUtils.replace(line, "distribution01.arabtvnet.tv", "93.158.79.163");
line = StringUtils.replace(line, "distribution02.arabtvnet.tv", "93.158.79.164");
line = StringUtils.replace(line, "distribution03.arabtvnet.tv", "93.158.79.165");
return line;
}
}
tv.ch.chTab = {{"1","Aljazeera","httptv://distribution03.arabtvnet.tv:8080/259&2609&4647859"},
}
String elements[] = line.split(",");
int index = 0;
index++;
String channelName = elements.length > index ? elements[index++] : "";
channelName = StringUtils.replace(channelName, " ", "_");
String channelUrl = elements.length > index ? elements[index++] : "";
channelUrl = StringUtils.replace(channelUrl, "&", "%26");
channelUrl = StringUtils.replace(channelUrl, "httptv:", "http:");
line = "\"" + channelName + "\" => \"" + channelUrl + "\",";
}
Jel zna neko koji je nastavak za ruske kanale umesto ZZZ
[FONT=Times New Roman][URL="http://193.17.208.243:4022/XYZ128"][COLOR=#0000ff]http://193.17.208.243:4022/XYZ128[/COLOR][/URL][/FONT]
[U][COLOR=#0000ff]XYZ[/COLOR][/U]
ti pojedinci ne pljuvaju mrtve linkove po forumu
BRE BRE tai server je kompletan down tako da pozete i XXL da stavite pa vam nece raditi ali BRE stacemo BRE
[FONT=Times New Roman]XYZ[/FONT]
[COLOR=#ff0000]Your input can't be opened:[/COLOR]
[COLOR=#000000]VLC is unable to open the MRL 'http://193.17.208.243:4022/XYZ81'. Check the log for details.[/COLOR]
[COLOR=#ff0000]Your input can't be opened:[/COLOR]
[COLOR=#000000]VLC is unable to open the MRL 'http://193.17.208.243:4022/XYZ82'. Check the log for details.[/COLOR]
[COLOR=#ff0000]Your input can't be opened:[/COLOR]
[COLOR=#000000]VLC is unable to open the MRL 'http://193.17.208.243:4022/XYZ83'. Check the log for details.[/COLOR]
[COLOR=#ff0000]Your input can't be opened:[/COLOR]
[COLOR=#000000]VLC is unable to open the MRL 'http://193.17.208.243:4022/XYZ84'. Check the log for details.[/COLOR]
[COLOR=#ff0000]Your input can't be opened:[/COLOR]
[COLOR=#000000]VLC is unable to open the MRL 'http://193.17.208.243:4022/XYZ85'. Check the log for details.[/COLOR]
http://193.17.208.243:4022/XYZ96 /
Koga interesuje ti americki kanali budalo jedna,dali idu ili ne...
Jeli... ide a mene ste pljuvali da neide kad sam prvi stavio Stream ovdje na Forumu i sad se vidi da ono sto kazem istina je samo mijenjajte imena kanala svi vi koji ste dobili stream od mene ili na PM ili ovdje na Forumuljudi ide opet sve kao od pre neki dan