Skip to content

Commit

Permalink
Merge pull request #198 from JAK0TA/fix_youtube_thumbnail
Browse files Browse the repository at this point in the history
use url instead of baseUrl
  • Loading branch information
MattiasNilsson authored Aug 7, 2024
2 parents 9177227 + b9810b4 commit 1e558d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Classes/Feed/Update/BaseUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@ protected function downloadImage(string $url, Configuration $configuration): ?Fi
$downloadFolder = $storage->getFolder($folderPath);
}

$baseUrl = explode('?', basename($url), 2);
$filename = md5($baseUrl[0]);
$filename = md5($url);

$file = $downloadFolder->getFile($filename);
if ($file == null) {
Expand Down

0 comments on commit 1e558d6

Please sign in to comment.