aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-08 11:18:44 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-08 11:18:44 +0200
commit77b9db87b84e20a6042444e3b18665bc66d4f1f2 (patch)
tree3cfd00f1622dc67cfb65f88b09d486715c12367d
parent6a986910b6d69e8420e8cbf78b3d3c2cf55ac9f0 (diff)
parente71c376db9a96e63595c0773828e96235c8d1233 (diff)
downloadwallabag-77b9db87b84e20a6042444e3b18665bc66d4f1f2.tar.gz
wallabag-77b9db87b84e20a6042444e3b18665bc66d4f1f2.tar.zst
wallabag-77b9db87b84e20a6042444e3b18665bc66d4f1f2.zip
Merge pull request #1804 from wallabag/j0k3r-patch-1
Force user-agent for iansommerville.com
-rw-r--r--src/Wallabag/CoreBundle/Resources/config/services.yml17
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: