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:
parent
45fd7e09d7
commit
7f55941856
6 changed files with 401 additions and 132 deletions
|
@ -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'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue