Skip to content

Commit 9512064

Browse files
committed
Fix channel url for channel items
1 parent 9cd11a7 commit 9512064

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractor.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ private void collectStreamsFrom(StreamInfoItemCollector collector, Element eleme
222222
collector.reset();
223223

224224
final String uploaderName = getName();
225+
final String uploaderUrl = getCleanUrl();
225226
for (final Element li : element.children()) {
226227
if (li.select("div[class=\"feed-item-dismissable\"]").first() != null) {
227228
collector.commit(new YoutubeStreamInfoItemExtractor(li) {
@@ -252,6 +253,11 @@ public String getUploaderName() throws ParsingException {
252253
return uploaderName;
253254
}
254255

256+
@Override
257+
public String getUploaderUrl() throws ParsingException {
258+
return uploaderUrl;
259+
}
260+
255261
@Override
256262
public String getThumbnailUrl() throws ParsingException {
257263
try {

0 commit comments

Comments
 (0)