/**
* Download all images from the html.
*
+ * @todo If we want to add async download, it should be done in that method
+ *
* @param Config $config
* @param Entry $entry
*
{
$this->downloadImages->setWallabagUrl($config->get('wallabag_url'));
- // if ($config->get('download_images_with_rabbitmq')) {
-
- // } else if ($config->get('download_images_with_redis')) {
-
- // }
-
return $this->downloadImages->processHtml(
$entry->getContent(),
$entry->getUrl()
/**
* Download the preview picture.
*
+ * @todo If we want to add async download, it should be done in that method
+ *
* @param Config $config
* @param Entry $entry
*
{
$this->downloadImages->setWallabagUrl($config->get('wallabag_url'));
- // if ($config->get('download_images_with_rabbitmq')) {
-
- // } else if ($config->get('download_images_with_redis')) {
-
- // }
-
return $this->downloadImages->processSingleImage(
$entry->getPreviewPicture(),
$entry->getUrl()