Skip to content

Commit

Permalink
fix(StreamsExtractor): use correct uploader URL
Browse files Browse the repository at this point in the history
  • Loading branch information
FineFindus committed Nov 10, 2024
1 parent 40ddf42 commit 37224cd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import kotlinx.coroutines.withContext
import kotlinx.datetime.toKotlinInstant
import org.schabi.newpipe.extractor.NewPipe
import org.schabi.newpipe.extractor.ServiceList
import org.schabi.newpipe.extractor.StreamingService
import org.schabi.newpipe.extractor.channel.ChannelInfo
import org.schabi.newpipe.extractor.channel.tabs.ChannelTabInfo
import org.schabi.newpipe.extractor.channel.tabs.ChannelTabs
Expand Down Expand Up @@ -112,7 +111,7 @@ object StreamsExtractor {
title = it.name,
thumbnail = it.thumbnails.maxByOrNull { img -> img.height }?.url,
uploaderName = it.uploaderName,
uploaderUrl = it.uploaderUrl,
uploaderUrl = it.uploaderUrl.replace(ShareDialog.YOUTUBE_FRONTEND_URL, ""),
uploaderAvatar = channelInfo.avatars.maxByOrNull { img -> img.height }?.url,
uploadedDate = it.uploadDate?.offsetDateTime().toString(),
duration = it.duration,
Expand Down

0 comments on commit 37224cd

Please sign in to comment.