Extract Channel Avatar in related videos.
This commit is contained in:
parent
f0aa46b008
commit
feb09e9997
|
@ -172,6 +172,11 @@ public class YoutubeStreamInfoItemExtractor implements StreamInfoItemExtractor {
|
|||
.getObject(0).getString("url");
|
||||
}
|
||||
|
||||
if (videoInfo.has("channelThumbnail")) {
|
||||
return JsonUtils.getArray(videoInfo, "channelThumbnail.thumbnails")
|
||||
.getObject(0).getString("url");
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue