summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/UserAgentSwitcher.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-18 11:50:43 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-18 11:50:43 +0200
commit339b2e07d78b15ca014ee12f1501cdb235d9b064 (patch)
tree98964f4fe5ef2d9b584a5de291d4ff719903a836 /module/plugins/hooks/UserAgentSwitcher.py
parent[XFSHoster] Fix https://github.com/pyload/pyload/issues/1296 (diff)
downloadpyload-339b2e07d78b15ca014ee12f1501cdb235d9b064.tar.xz
[SimpleHoster] Fix create_getInfo
Diffstat (limited to 'module/plugins/hooks/UserAgentSwitcher.py')
-rw-r--r--module/plugins/hooks/UserAgentSwitcher.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/UserAgentSwitcher.py b/module/plugins/hooks/UserAgentSwitcher.py
index 0b36e38ec..6915fc0f4 100644
--- a/module/plugins/hooks/UserAgentSwitcher.py
+++ b/module/plugins/hooks/UserAgentSwitcher.py
@@ -15,10 +15,10 @@ class UserAgentSwitcher(Hook):
__type__ = "hook"
__version__ = "0.04"
- __config__ = [("activated", "bool", "Activated" , True ),
- ("uaf" , "file", "Random user-agent by file" , "" ),
- ("uar" , "bool", "Random user-agent" , False ),
- ("uas" , "str" , "Custom user-agent string" , "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0")]
+ __config__ = [("activated", "bool", "Activated" , True ),
+ ("uaf" , "file", "Random user-agent by file", "" ),
+ ("uar" , "bool", "Random user-agent" , False ),
+ ("uas" , "str" , "Custom user-agent string" , "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0")]
__description__ = """Custom user-agent"""
__license__ = "GPLv3"