mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-28 16:00:33 +05:30
Merge pull request #725 from FireMasterK/related-uploader-avatar
Extract Channel Avatar in related videos.
This commit is contained in:
commit
62b87552f5
@ -172,6 +172,11 @@ public class YoutubeStreamInfoItemExtractor implements StreamInfoItemExtractor {
|
|||||||
.getObject(0).getString("url");
|
.getObject(0).getString("url");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (videoInfo.has("channelThumbnail")) {
|
||||||
|
return JsonUtils.getArray(videoInfo, "channelThumbnail.thumbnails")
|
||||||
|
.getObject(0).getString("url");
|
||||||
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user