wollte mal fragen ob hier jemand weiß wie ich es schaffe mit httpwebrequest
Kinox streams öffnen kann.
PHP Code:
WebRPost("http://kinox.to/aGET/Mirror/" + Serie + "&Hoster=5&Mirror=2&Season=" + cmbStaffel.Text.Split(' ')[1] + "&Episode=1", "");
PHP Code:
private string WebRPost(string URL, string Post)
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL);
request.Method = "GET";
request.UserAgent = "Mozilla/5.0 (Windows; U; WIndows NT 6.1; ru; rv:1.9.2.3) Gecko/20100401 Firefox/4.0 (.NET CLR 3.5.30729)";
request.CookieContainer = new CookieContainer();
foreach (Cookie entry in Cookies)
{
request.CookieContainer.Add(entry);
}
request.AllowAutoRedirect = true;
request.Proxy = null;
Stream DataStream = default(Stream);
// Rückgabe holen
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
DataStream = response.GetResponseStream();
StreamReader reader = new StreamReader(DataStream);
string ServerResponse = reader.ReadToEnd();
reader.Close();
DataStream.Close();
response.Close();
return ServerResponse;
}
PHP Code:
{"Stream":"<\/a>","Replacement":"
\t
Sockshare.com<\/div>\t
Mirror<\/b>: 3\/3
Vom<\/b>: 04.05.2013<\/div><\/li>","HosterName":"Sockshare.com","HosterHome":"http:\/\/sockshare.com\/"}