Feb 1, 2015 09:32 AM
(This post was last modified: Feb 1, 2015 09:35 AM by KingDeath360.)
Don't ask for screenshots!
------Made by me------
Do i really need to write a paragraph on what this does?
Parses the download link from the page source code.
allowing you to paste it into a browser and download the video
VPORN
Xvideos
playvid
Usage:
------Made by me------
Do i really need to write a paragraph on what this does?
Parses the download link from the page source code.
allowing you to paste it into a browser and download the video
VPORN
Code
Public Sub download_vporn(ByVal url As String)
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(url) : request.Proxy = Nothing
Dim response As System.Net.HttpWebResponse = request.GetResponse()
Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream())
Dim ddf As String = DirectCast(DirectCast((New System.Text.RegularExpressions.Regex("<script type=""text/javascript"">(.*?)</script>", System.Text.RegularExpressions.RegexOptions.IgnoreCase Or System.Text.RegularExpressions.RegexOptions.Singleline)).Matches(sr.ReadToEnd()), System.Text.RegularExpressions.MatchCollection)(2).Groups(1).Value, String)
TextBox2.Text = ddf
End SubCode
Public Sub download_Xvideos(ByVal url As String) 'working as of 20/05/2014... downloads website text, finds the 'flashvars' parses it to get direct download link
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(url) : request.Proxy = Nothing
Downloader(System.Web.HttpUtility.UrlDecode(DirectCast((New System.Text.RegularExpressions.Regex("flv_url=(.*?)&", System.Text.RegularExpressions.RegexOptions.IgnoreCase)).Matches(DirectCast((New System.Text.RegularExpressions.Regex("<embed type=""application/x-shockwave-flash"" id=""flash-player-embed"" wmode=""transparent"" src=""http://static.xvideos.com/swf/xv-player.swf"" quality=""high"" allowfullscreen=""true"" allowscriptaccess=""always"" flashvars=""(.*?)"" width=""588"" height=""476"">", System.Text.RegularExpressions.RegexOptions.IgnoreCase)).Matches((New System.IO.StreamReader(DirectCast(request.GetResponse(), System.Net.HttpWebResponse).GetResponseStream())).ReadToEnd()), System.Text.RegularExpressions.MatchCollection)(0).Groups(1).Value.Trim()), System.Text.RegularExpressions.MatchCollection)(0).Groups(1).Value.Trim()), url)
End SubCode
Public Sub download_Playvid(ByVal url As String) 'working as of 20/05/2014... downloads website text, finds the 'flashvars' parses it to get direct download link
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(url) : request.Proxy = Nothing
Downloader("http" & System.Web.HttpUtility.UrlDecode(DirectCast((New System.Text.RegularExpressions.Regex("http(.*?)mp4", System.Text.RegularExpressions.RegexOptions.IgnoreCase)).Matches(DirectCast((New System.Text.RegularExpressions.Regex("<embed type=""application/x-shockwave-flash"" src=""(.*?)"" id=""video_player"" flashvars=""(.*?)"" style=""width: 100%; height: 100%;"" allowscriptaccess=""always"" allowfullscreen=""true"" wmode=""opaque"" />", System.Text.RegularExpressions.RegexOptions.IgnoreCase)).Matches((DirectCast((New System.IO.StreamReader(DirectCast(request.GetResponse(), System.Net.HttpWebResponse).GetResponseStream())), System.IO.StreamReader).ReadToEnd())), System.Text.RegularExpressions.MatchCollection)(0).Groups(2).Value.Trim()), System.Text.RegularExpressions.MatchCollection)(0).Groups(1).Value.Trim()) & "mp4", url)
End SubUsage:
Code
download_vporn("url of video")

