WordRider Home
Youtube problem
June 21, 2015 03:14PM
Hi.
Sample link [www.youtube.com]
Re: Youtube problem
July 13, 2015 04:35AM
Hi:

another issue:

Error : fmt stream map not found

[www.youtube.com]
Re: Youtube problem
July 23, 2015 05:00PM
Looks like he also died.
Re: Youtube problem
July 23, 2015 10:13PM
Playlist problem: they've changed the whole API things since API ver 3. We have to register to get the API v3 works (I haven't registered), there is also quota for API usage. The other solution (non-API) is page scrapping. I haven't gotten time to look into and solve the problem. Feel free to send us patches.

Age restriction problem: the sample link can't be embedded, you'll get the error message with this embedded URL: [www.youtube.com].
Re: Youtube problem
July 24, 2015 02:10PM
Isnt easier just get all links from page,and removes links,thats dont start with youtube.com/watch?v ?
Re: Youtube problem
July 24, 2015 02:13PM
[VB.NET SYNTAX]
For Each item As HtmlElement In WebBrowser1.Document.Links
Dim at as String
at=item.GetAttribute("src")
If at.Contains("youtube.com/watch?v") Then
links.Add(at)
End If
Next
Re: Youtube problem
July 24, 2015 02:15PM
[C# SYNTAX]
Language: C#
foreach(HtmlElement item in WebBrowser1.Document.Links) { string at; at=item.GetAttribute("src"); If at.Contains("youtube.com/watch?v") { links.Add(at); } }
Re: Youtube problem
July 24, 2015 05:28PM
We don't parse the HTML into a web page, so we need to read the links directly from the HTML markup. However, they all seem to be there. I'm not sure why we ended up using the API.

A regex like "<a href="(/watch\?v=.+?)" would do it I guess.



Edited 2 time(s). Last edit at 07/24/2015 05:30PM by ntoskrnl.
Re: Youtube problem
July 24, 2015 07:35PM
I dont understand regex syntaxes.
Re: Youtube problem
July 25, 2015 08:32PM
I am getting :

Error : fmt stream map not found
Sorry, only registered users may post in this forum.

Click here to login