YoutubeExtractor icon indicating copy to clipboard operation
YoutubeExtractor copied to clipboard

Error in downloadUrlResolver when "ytRating": "ytAgeRestricted"

Open StepIg opened this issue 6 years ago • 1 comments

When video has

"contentRating": {
     "ytRating": "ytAgeRestricted"
    }

got error in

private static void ThrowYoutubeParseException(Exception innerException, string videoUrl)
        {
            throw new YoutubeParseException("Could not parse the Youtube page for URL " + videoUrl + "\n" +
                                            "This may be due to a change of the Youtube page structure.\n" +
                                            "Please report this bug at www.github.com/flagbug/YoutubeExtractor/issues", innerException);
        }

StepIg avatar Sep 10 '18 08:09 StepIg

Because you must be logged in and 18+. That's an anonymous-login extractor.

RusJJ avatar Sep 19 '18 18:09 RusJJ