diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-25 17:04:49 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-25 17:04:49 +0200 |
commit | 8fdf78569ba68c8ee4849cbfc144a9fbdac263f5 (patch) | |
tree | 1a54892c2cab60b1ea41eef800955c2866f3356e /module/plugins | |
parent | [SimpleCrypter] Fixup (diff) | |
download | pyload-8fdf78569ba68c8ee4849cbfc144a9fbdac263f5.tar.xz |
[UserAgentSwitcher] Fixup (3)
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/crypter/GoogledriveComFolder.py | 2 | ||||
-rw-r--r-- | module/plugins/hooks/UserAgentSwitcher.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/crypter/GoogledriveComFolder.py b/module/plugins/crypter/GoogledriveComFolder.py index 8e6cdbc51..70898b313 100644 --- a/module/plugins/crypter/GoogledriveComFolder.py +++ b/module/plugins/crypter/GoogledriveComFolder.py @@ -9,6 +9,8 @@ class GoogledriveComFolder(SimpleCrypter): __version__ = "0.01" __pattern__ = r'https?://(?:www\.)?drive\.google\.com/folderview\?.*id=\w+' + __config__ = [("use_subfolder" , "bool", "Save package to subfolder" , True), #: Overrides core.config['general']['folder_per_package'] + ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)] __description__ = """Drive.google.com folder decrypter plugin""" __license__ = "GPLv3" diff --git a/module/plugins/hooks/UserAgentSwitcher.py b/module/plugins/hooks/UserAgentSwitcher.py index 16d38d2cc..5f9fd5212 100644 --- a/module/plugins/hooks/UserAgentSwitcher.py +++ b/module/plugins/hooks/UserAgentSwitcher.py @@ -3,13 +3,12 @@ import pycurl from module.plugins.Hook import Hook -from module.utils import encode class UserAgentSwitcher(Hook): __name__ = "UserAgentSwitcher" __type__ = "hook" - __version__ = "0.06" + __version__ = "0.07" __config__ = [("activated", "bool", "Activated" , True ), ("useragent", "str" , "Custom user-agent string" , "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0")] |