summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon/UserAgentSwitcher.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 10:29:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 10:29:55 +0200
commitd60040cdc406b0541f0b3f9681a09894f845ba2b (patch)
tree69be3f4730c9ef4cf9f98f5b9ae17157a88abc85 /pyload/plugin/addon/UserAgentSwitcher.py
parentCleanup + fixup + new lib (diff)
downloadpyload-d60040cdc406b0541f0b3f9681a09894f845ba2b.tar.xz
Diffstat (limited to 'pyload/plugin/addon/UserAgentSwitcher.py')
-rw-r--r--pyload/plugin/addon/UserAgentSwitcher.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/pyload/plugin/addon/UserAgentSwitcher.py b/pyload/plugin/addon/UserAgentSwitcher.py
index 46807da67..ec1640e63 100644
--- a/pyload/plugin/addon/UserAgentSwitcher.py
+++ b/pyload/plugin/addon/UserAgentSwitcher.py
@@ -11,18 +11,18 @@ from pyload.utils import fs_encode
class UserAgentSwitcher(Addon):
- __name__ = "UserAgentSwitcher"
- __type__ = "addon"
- __version__ = "0.04"
+ __name = "UserAgentSwitcher"
+ __type = "addon"
+ __version = "0.04"
- __config__ = [("activated", "bool", "Activated" , True ),
+ __config = [("activated", "bool", "Activated" , True ),
("uaf" , "file", "Random user-agents 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")]
- __description__ = """Custom user-agent"""
- __license__ = "GPLv3"
- __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
+ __description = """Custom user-agent"""
+ __license = "GPLv3"
+ __authors = [("Walter Purcaro", "vuolter@gmail.com")]
def setup(self):