diff options
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/config/services.yml | 17 |
1 files changed, 16 insertions, 1 deletions
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: | |||
39 | wallabag_core.graby: | 39 | wallabag_core.graby: |
40 | class: Graby\Graby | 40 | class: Graby\Graby |
41 | arguments: | 41 | arguments: |
42 | - { error_message: "wallabag can't retrieve contents for this article. Please report this issue to us." } | 42 | - |
43 | error_message: "wallabag can't retrieve contents for this article. Please report this issue to us." | ||
44 | http_client: | ||
45 | user_agents: | ||
46 | 'lifehacker.com': 'PHP/5.2' | ||
47 | 'gawker.com': 'PHP/5.2' | ||
48 | 'deadspin.com': 'PHP/5.2' | ||
49 | 'kotaku.com': 'PHP/5.2' | ||
50 | 'jezebel.com': 'PHP/5.2' | ||
51 | 'io9.com': 'PHP/5.2' | ||
52 | 'jalopnik.com': 'PHP/5.2' | ||
53 | 'gizmodo.com': 'PHP/5.2' | ||
54 | '.wikipedia.org': 'Mozilla/5.2' | ||
55 | '.fok.nl': 'Googlebot/2.1' | ||
56 | 'getpocket.com': 'PHP/5.2' | ||
57 | 'iansommerville.com': 'PHP/5.2' | ||
43 | calls: | 58 | calls: |
44 | - [ setLogger, [ "@logger" ] ] | 59 | - [ setLogger, [ "@logger" ] ] |
45 | tags: | 60 | tags: |