Make DownloadImages use HttpClient

This commit is contained in:
Yassine Guedidi
2024-02-08 21:13:52 +01:00
parent a8634d7116
commit 0576cb613f
4 changed files with 65 additions and 90 deletions

View File

@ -36,6 +36,10 @@ framework:
assets: ~
mailer:
dsn: "%mailer_dsn%"
http_client:
scoped_clients:
download_images.client:
scope: '.*'
# Twig Configuration
twig:
@ -421,9 +425,6 @@ httplug:
defaults:
timeout: 10
plugins: ['httplug.plugin.logger']
wallabag_core.entry.download_images:
factory: 'httplug.factory.auto'
plugins: ['httplug.plugin.logger']
wallabag_core.pocket.client:
factory: 'httplug.factory.auto'
plugins: