summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 00:10:43 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 00:10:43 +0200
commit48abd898139b3f40d52b17680c9d5b8a674545c6 (patch)
treec8777fb2cc9b2063a9be5b21380cb74ffb54a90b /module/plugins/hooks
parentTraceback code cosmetics (diff)
downloadpyload-48abd898139b3f40d52b17680c9d5b8a674545c6.tar.xz
[UserAgentSwitcher] Default activated set to True
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/UserAgentSwitcher.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hooks/UserAgentSwitcher.py b/module/plugins/hooks/UserAgentSwitcher.py
index 56c605bac..31eac9820 100644
--- a/module/plugins/hooks/UserAgentSwitcher.py
+++ b/module/plugins/hooks/UserAgentSwitcher.py
@@ -8,9 +8,10 @@ from module.plugins.Hook import Hook
class UserAgentSwitcher(Hook):
__name__ = "UserAgentSwitcher"
__type__ = "hook"
- __version__ = "0.01"
+ __version__ = "0.02"
- __config__ = [("ua", "str", "Custom user-agent string", "")]
+ __config__ = [("activated", "bool", "Activated" , True ),
+ ("ua" , "str" , "Custom user-agent string", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0")]
__description__ = """Custom user-agent"""
__license__ = "GPLv3"