Skip to content
This repository was archived by the owner on Sep 28, 2020. It is now read-only.

Commit 981e142

Browse files
committed
Fix the exception message
1 parent db8067c commit 981e142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

YoutubeExtractor/YoutubeExtractor/DownloadUrlResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ private static string GetStreamMap(JObject json)
183183

184184
if (streamMapString == null || streamMapString.Contains("been+removed"))
185185
{
186-
throw new VideoNotAvailableException("Video is removed");
186+
throw new VideoNotAvailableException("Video is removed or has an age restriction.");
187187
}
188188

189189
return streamMapString;

0 commit comments

Comments
 (0)