summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-03-05 23:15:19 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-03-05 23:15:19 +0100
commit9854d2f81577dc3c5c7c97cefd61404f739f4a24 (patch)
treec31d4c9636dc7ca15badde59cba289c8b6b7054e /module/plugins
parent[SoundcloudCom] Fix https://github.com/pyload/pyload/issues/1196 (diff)
downloadpyload-9854d2f81577dc3c5c7c97cefd61404f739f4a24.tar.xz
[ClickAndLoad] Fixup
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hooks/ClickAndLoad.py4
-rw-r--r--module/plugins/hoster/MegaCoNz.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/ClickAndLoad.py b/module/plugins/hooks/ClickAndLoad.py
index f3396be77..938269795 100644
--- a/module/plugins/hooks/ClickAndLoad.py
+++ b/module/plugins/hooks/ClickAndLoad.py
@@ -17,14 +17,14 @@ def forward(source, destination):
bufdata = source.recv(bufsize)
finally:
destination.shutdown(socket.SHUT_WR)
- destination.close()
+ # destination.close()
#@TODO: IPv6 support
class ClickAndLoad(Hook):
__name__ = "ClickAndLoad"
__type__ = "hook"
- __version__ = "0.39"
+ __version__ = "0.40"
__config__ = [("activated", "bool", "Activated" , True),
("port" , "int" , "Port" , 9666),
diff --git a/module/plugins/hoster/MegaCoNz.py b/module/plugins/hoster/MegaCoNz.py
index 4ad20b265..37ac12b44 100644
--- a/module/plugins/hoster/MegaCoNz.py
+++ b/module/plugins/hoster/MegaCoNz.py
@@ -50,7 +50,7 @@ class MegaCoNz(Hoster):
__type__ = "hoster"
__version__ = "0.26"
- __pattern__ = r'(?:https?://(?:www\.)?mega\.co\.nz/|mega:|chrome:.+?)#(?P<TYPE>N|)!(?P<ID>[\w^_]+)!(?P<KEY>[\w,\\-]+)'
+ __pattern__ = r'(?:https?://(?:www\.)?mega\.co\.nz/|mega:|chrome:.+?)#(?P<TYPE>N|)!(?P<ID>[\w^_]+)!(?P<KEY>[\w,-]+)'
__description__ = """Mega.co.nz hoster plugin"""
__license__ = "GPLv3"