mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-04-16 17:32:20 +00:00
missing file
This commit is contained in:
parent
85028860b1
commit
13663eb137
@ -274,6 +274,17 @@ namespace Uaflix
|
|||||||
var doc = new HtmlDocument();
|
var doc = new HtmlDocument();
|
||||||
doc.LoadHtml(html);
|
doc.LoadHtml(html);
|
||||||
|
|
||||||
|
var videoNode = doc.DocumentNode.SelectSingleNode("//video");
|
||||||
|
if (videoNode != null)
|
||||||
|
{
|
||||||
|
string videoUrl = videoNode.GetAttributeValue("src", "");
|
||||||
|
if (!string.IsNullOrEmpty(videoUrl))
|
||||||
|
{
|
||||||
|
result.streams.Add((videoUrl, "1080p"));
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var iframe = doc.DocumentNode.SelectSingleNode("//div[contains(@class, 'video-box')]//iframe");
|
var iframe = doc.DocumentNode.SelectSingleNode("//div[contains(@class, 'video-box')]//iframe");
|
||||||
if (iframe != null)
|
if (iframe != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user