1
0
This repository has been archived on 2026-04-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
YouTubeScraper/YouTubeScraper/YouTube.API.Test/DashManifestTest.cs
T
2019-12-04 16:20:39 +03:00

27 lines
659 B
C#

using NUnit.Framework;
using System;
using System.Collections.Generic;
using YouTube.Models;
namespace YouTube.API.Test
{
public class DashManifestTest
{
[SetUp]
public void Setup()
{
}
[Test]
public void ValidManifestTest()
{
ExtendedYouTubeService service = new ExtendedYouTubeService();
IReadOnlyList<DashManifest> manifests = service.DashManifests.List("NkGbcQwWxqk").Execute();
foreach (var i in manifests)
Console.WriteLine(i.Label);
Assert.IsNotNull(manifests);
Assert.IsNotEmpty(manifests);
}
}
}