Member Avatar

I want to make a form application that upload torrent file in bytebx.com using my username and password Could any one help me? Torrent uploading header request like : http://bytebx.com/storage POST /storage HTTP/1.1 Host: bytebx.com User-Agent: Mozilla/5.0 (Windows NT 6.3; rv:34.0) Gecko/20100101 Firefox/34.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://bytebx.com/storage Cookie: xxxxxxx Connection: keep-alive Content-Type: multipart/form-data; boundary=---------------------------1461596626053 Content-Length: 444 -----------------------------1461596626053 Content-Disposition: form-data; name="url" http://torcache.net/torrent/55282A6D8AA608CAED27B0250605AAE6E0EE2F4F.torrent?title=[kickass.so]internet.download.manager.idm.6.21.build.16.final.incl.crack.atom -----------------------------1461596626053 Content-Disposition: form-data; name="file"; filename="" Content-Type: application/octet-stream -----------------------------1461596626053--

Member Avatar
0
20
Member Avatar

Get the image source of the below link which pass the condition **itemprop="image"** and **id="poster_image"** <img itemprop="image" id="poster_image" style="width: 300px; height: 442px; " alt="" title="" src="*This is the source.jpg*" />

Member Avatar
0
7
Member Avatar

Please help me.... See the code below. Imports System.Text.RegularExpressions Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("**HERE IS MY DESIRED URL**") Dim response As System.Net.HttpWebResponse = request.GetResponse Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream()) Dim rssourcecode As String = sr.ReadToEnd Dim r As New System.Text.RegularExpressions.Regex("<a class=""category"" href=""**HERE IS THE URL**"">**HERE SOME TEXt**</a><br /> ") Dim matches As MatchCollection = r.Matches(rssourcecode) For Each itemcode As Match In matches Next End Sub End Class I want to get data "HERE SOME TEXt" list in a combobox and respective "HERE …

Member Avatar
0
24
Member Avatar

sir i want to get data between to tag... example:(showing in my view source) <img class='stat_icon' src='/images/green.png'> **data to be extracted**</a> or like <input type=hidden name=timestamp value='**data to be extracted**'> for the first example i wrote like: Imports System.Text.RegularExpressions Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim requestt As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("my desired link") Dim responsee As System.Net.HttpWebResponse = requestt.GetResponse() Dim sr As System.IO.StreamReader = New System.IO.StreamReader(responsee.GetResponseStream()) Dim sourcecodee As String = sr.ReadToEnd() Dim pattern1 As String = "<img class='stat_icon' src='/images/red.png'> " & _ "(.*)</a>" Dim m As Match = Regex.Match(sourcecodee, pattern1) If m.Success Then …

Member Avatar
0
28

The End.