kopia lustrzana https://github.com/TeamNewPipe/NewPipeExtractor
Do not require knowledge of uploader in default StreamInfoItems tests
This change is required as some services can return no uploader info, such as YouTube for playlists with a Shorts UI.pull/1093/head
rodzic
8237052ef5
commit
698c710685
|
@ -38,9 +38,6 @@ public final class DefaultTests {
|
|||
|
||||
if (item instanceof StreamInfoItem) {
|
||||
StreamInfoItem streamInfoItem = (StreamInfoItem) item;
|
||||
assertNotEmpty("Uploader name not set: " + item, streamInfoItem.getUploaderName());
|
||||
|
||||
// assertNotEmpty("Uploader url not set: " + item, streamInfoItem.getUploaderUrl());
|
||||
final String uploaderUrl = streamInfoItem.getUploaderUrl();
|
||||
if (!isNullOrEmpty(uploaderUrl)) {
|
||||
assertIsSecureUrl(uploaderUrl);
|
||||
|
|
Ładowanie…
Reference in New Issue