X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fconfig%2Fservices.yml;h=a36f33922e8805ecd00d7727ddb13293f084c898;hb=refs%2Fpull%2F1049%2Fhead;hp=677c33daa7f39181f155fb2bc3ee49ca619e3f7b;hpb=d7cc16c8b585f6a600cd309a9bb5630794fcf9aa;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index 677c33da..a36f3392 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml @@ -39,7 +39,22 @@ services: wallabag_core.graby: class: Graby\Graby arguments: - - { error_message: "wallabag can't retrieve contents for this article. Please report this issue to us." } + - + error_message: "wallabag can't retrieve contents for this article. Please report this issue to us." + http_client: + user_agents: + 'lifehacker.com': 'PHP/5.2' + 'gawker.com': 'PHP/5.2' + 'deadspin.com': 'PHP/5.2' + 'kotaku.com': 'PHP/5.2' + 'jezebel.com': 'PHP/5.2' + 'io9.com': 'PHP/5.2' + 'jalopnik.com': 'PHP/5.2' + 'gizmodo.com': 'PHP/5.2' + '.wikipedia.org': 'Mozilla/5.2' + '.fok.nl': 'Googlebot/2.1' + 'getpocket.com': 'PHP/5.2' + 'iansommerville.com': 'PHP/5.2' calls: - [ setLogger, [ "@logger" ] ] tags: