Unverified Commit 827f7bd1 authored by Stypox's avatar Stypox
Browse files

[YouTube] Cache deobfuscation and improve requests made

Fix age restriction extraction
Automatically fixes more things
parent b42a196f
......@@ -94,7 +94,7 @@ public class ItagItem {
return item;
}
}
throw new ParsingException("itag=" + Integer.toString(itagId) + " not supported");
throw new ParsingException("itag=" + itagId + " not supported");
}
/*//////////////////////////////////////////////////////////////////////////
......
......@@ -209,6 +209,7 @@ public abstract class DefaultStreamExtractorTest extends DefaultExtractorTest<St
final StreamInfoItemsCollector relatedStreams = extractor().getRelatedStreams();
if (expectedHasRelatedStreams()) {
assertNotNull(relatedStreams);
defaultTestListOfItems(extractor().getService(), relatedStreams.getItems(),
relatedStreams.getErrors());
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment