Projektdateien hinzufügen.

This commit is contained in:
Kevin Krüger
2023-07-24 12:00:34 +02:00
parent 656751e10b
commit 0d00a90942
210 changed files with 45049 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
namespace VideoBrowser.Core
{
/// <summary>
/// Defines the <see cref="YoutubeUrlHandler" />
/// </summary>
public class YoutubeUrlHandler : UrlHandlerBase
{
#region Constructors
/// <summary>
/// Initializes a new instance of the <see cref="YoutubeUrlHandler"/> class.
/// </summary>
internal YoutubeUrlHandler() : base("youtube.com")
{
}
#endregion Constructors
#region Methods
/// <summary>
/// The ParseFullUrl
/// </summary>
protected override void ParseFullUrl()
{
this.IsDownloadable = false;
if (!this.FullUrl.Contains(this.DomainName))
{
return;
}
if (this.FullUrl.Contains(@"youtube.com/watch?v="))
{
this.IsDownloadable = true;
}
}
#endregion Methods
}
}