1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Use doctrine event to download images

This commit is contained in:
Jeremy Benoist 2016-10-30 10:48:29 +01:00
parent 45fd7e09d7
commit 7f55941856
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
6 changed files with 401 additions and 132 deletions

View file

@ -75,12 +75,6 @@ class ContentProxy
$entry->setDomainName($domainName);
}
if (true) {
$this->logger->log('debug', 'Starting to download images');
$downloadImages = new DownloadImages($html, $url, $this->logger);
$html = $downloadImages->process();
}
$entry->setContent($html);
if (isset($content['open_graph']['og_image'])) {