Rewrite chapter image URLs. (#167)

This commit is contained in:
Kavin 2022-01-13 04:22:09 +00:00 committed by GitHub
parent a438faa577
commit 322610dbbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,8 +146,8 @@ public class ResponseHelper {
final StreamInfo info = futureStream.get(); final StreamInfo info = futureStream.get();
info.getStreamSegments().forEach(segment -> { info.getStreamSegments().forEach(segment -> {
chapters.add( chapters.add(new ChapterSegment(segment.getTitle(), rewriteURL(segment.getPreviewUrl()),
new ChapterSegment(segment.getTitle(), segment.getPreviewUrl(), segment.getStartTimeSeconds())); segment.getStartTimeSeconds()));
}); });
info.getSubtitles() info.getSubtitles()