From bf9d7b230ba39e9092dedffa8eb36578d071a082 Mon Sep 17 00:00:00 2001 From: Ivan Stus Date: Mon, 29 May 2017 18:41:52 +0300 Subject: [PATCH] Fix video unavailable detection --- YoutubeExtractor/YoutubeExtractor/DownloadUrlResolver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YoutubeExtractor/YoutubeExtractor/DownloadUrlResolver.cs b/YoutubeExtractor/YoutubeExtractor/DownloadUrlResolver.cs index 6896edf..7d28024 100644 --- a/YoutubeExtractor/YoutubeExtractor/DownloadUrlResolver.cs +++ b/YoutubeExtractor/YoutubeExtractor/DownloadUrlResolver.cs @@ -296,7 +296,7 @@ private static string GetVideoTitle(JObject json) private static bool IsVideoUnavailable(string pageSource) { - const string unavailableContainer = "
"; + const string unavailableContainer = "
"; return pageSource.Contains(unavailableContainer); }