]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
User-agents have moved to site-config 2587/head
authorJeremy Benoist <j0k3r@users.noreply.github.com>
Mon, 14 Nov 2016 13:29:13 +0000 (14:29 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Nov 2016 13:29:13 +0000 (14:29 +0100)
Since graby@1.5.0, user-agent can be defined in site-config, which the now recommended way

src/Wallabag/CoreBundle/Resources/config/services.yml

index 90a2419eab70534ab93cba6417a6c3f55bede724..ed66d2bee1551a683d4565ca5a4c38716c0b5190 100644 (file)
@@ -41,21 +41,6 @@ services:
         arguments:
             -
                 error_message: '%wallabag_core.fetching_error_message%'
-                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'
-                        '.slashdot.org': 'PHP/5.2'
         calls:
             - [ setLogger, [ "@logger" ] ]
         tags: