summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Ftp.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-08 20:25:22 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-08 20:25:22 +0200
commit332c248d0860c8c09d804055b6491dfbb654c8d3 (patch)
treed8b02ba404993ed70816e59cd8e130b8b36c8adf /module/plugins/hoster/Ftp.py
parentAdd __license__ key attribute to plugins (diff)
downloadpyload-332c248d0860c8c09d804055b6491dfbb654c8d3.tar.xz
Newline cosmetics
Diffstat (limited to 'module/plugins/hoster/Ftp.py')
-rw-r--r--module/plugins/hoster/Ftp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/hoster/Ftp.py b/module/plugins/hoster/Ftp.py
index c880302f4..b255de66b 100644
--- a/module/plugins/hoster/Ftp.py
+++ b/module/plugins/hoster/Ftp.py
@@ -13,7 +13,9 @@ class Ftp(Hoster):
__name__ = "Ftp"
__type__ = "hoster"
__version__ = "0.42"
+
__pattern__ = r'(ftps?|sftp)://(.*?:.*?@)?.*?/.*' # ftp://user:password@ftp.server.org/path/to/file
+
__description__ = """Download from ftp directory"""
__license__ = "GPLv3"
__authors__ = [("jeix", "jeix@hasnomail.com"),