Skip to content

Commit

Permalink
add missing protocoll
Browse files Browse the repository at this point in the history
  • Loading branch information
codingPF committed May 2, 2024
1 parent 6f6b30f commit 15aad3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ protected void processDocument(final SrTopicUrlDTO aUrlDTO, final Document aDocu
if (videoInfo.getSubtitleUrl().isPresent()) {
for (String url : videoInfo.getSubtitleUrl().get()) {
try {
film.addSubtitle(new URL(url));
film.addSubtitle(new URL(addMissingProtocol(url)));
} catch (Exception e) {
LOG.error("invalid subtitle url {} {}", url, e);
}
Expand Down

0 comments on commit 15aad3e

Please sign in to comment.