Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

vb.net 2015 youtube-mp3.org httprequest

Hi friends,
i'm trying to download converted video from this site:youtube-mp3
I can do everything throught webbrowser but now I'm trying to download string throught webclient and to send/get request throught httprequest

Only problem I have is that does not understand how the site generate those 2 values of those variables:
1. is the r
2. is the s
my first request
Code
GET ..youtube-mp3/a/pushItem/?item=...youtube.com/watch%3Fv%3DbUjNWyM8H8U&el=ma&bf=false&r=1496139500327&s=132288
than as soon as the link is converted second request
Code
GET ...youtube-mp3.org/a/itemInfo/?video_id=bUjNWyM8H8U&ac=www&t=grp&r=1496139500604&s=74286
I understand that r seems like timestamp but for s have not understand what it is. Someone can help me only to understand the value of those 2 variables?
thank you
r seems to be a unix timestamp, and I dont know about s.
Here is something similar that I coded. Hope this helps you.

CODE:

Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

WebBrowser1.Navigate("http://www.youtubeinmp3.com/widget/button/?video=" + TextBox1.Text)


End Sub

Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click

If RadioButton1.Checked = True Then
WebBrowser1.Document.GetElementById("downloadButton").InvokeMember("click")
End If
If RadioButton2.Checked = True Then
MsgBox("Ads may pop up! Exit out of them. Only click save on the save file dialog to save your file!")
WebBrowser1.Document.GetElementById("downloadMP4").InvokeMember("click")
End If

End Sub

Private Sub RadioButton2_CheckedChanged(sender As Object, e As EventArgs) Handles RadioButton2.CheckedChanged

If RadioButton2.Checked = True Then
WebBrowser1.Document.GetElementById("video").SetAttribute("value", TextBox1.Text)
WebBrowser1.Document.GetElementById("submitForm").InvokeMember("click")

End If

End Sub

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

WebBrowser1.Navigate("http://www.youtubeinmp4.com/")

End Sub

🤝 🎉
I think you should not waste your time with a third-party service like youtubeinmp4 man. Work directly with youtube servers, that way you can probably eliminate as much future issues as possible because you will have to relay on youtubeinmp4, rather than youtube itself.
(Jun 2, 2017 05:09 AM)Cairns Wrote:  I think you should not waste your time with a third-party service like youtubeinmp4 man. Work directly with youtube servers, that way you can probably eliminate as much future issues as possible because you will have to relay on youtubeinmp4, rather than youtube itself.

This.

Capture the YouTube requests and find out how the video is downloaded and download it yourself.

If that is too hard you can probably find an open source youtube downloader so you find out how the requests are made and replicate them.
Thank you for replay. Friends I asked for http request with webbrowser I know how to do it and Im trying to download mp3 not video. so your answers can't help me. Thank you also for your time.
http://www.youtubeinmp3.com/api/

thank me later
(Jun 8, 2017 02:00 AM)siteper Wrote:  Thank you for replay. Friends I asked for http request with webbrowser I know how to do it and Im trying to download mp3 not video. so your answers can't help me. Thank you also for your time.

Both my answers have been related to http requests...
(Jun 8, 2017 03:29 AM)+Haze Wrote:  youtubeinmp3.com/api/

thank me later

Yes I know and with this site have finished.
I'm adding a lot sites so if one is down users can choose another one like youtube-mp3
but like I told before with a webbrowser I can do it, I'm trying to do it with http request.
I know that r is unix timestamp but s???
thanks also for help


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by ZeakZNov 17, 2018 09:53 AM 22 813 Nov 17, 2018 09:53 AM
Last Post: ZeakZ
[.NET] by iphone5sNov 18, 2017 02:58 PM 3 477 Nov 18, 2017 02:58 PM
Last Post: System[X]
[.NET] by FunctionDevOct 6, 2016 02:48 AM 1 240 Oct 6, 2016 02:48 AM
Last Post: Specs