From e7e59f4f7c3211920016bb3e5e063f954a19c92e Mon Sep 17 00:00:00 2001 From: guidobelix Date: Wed, 15 Oct 2014 02:05:25 +0200 Subject: New plugin RapidfileshareNet (account + hoster) --- module/plugins/accounts/RapidfileshareNet.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 module/plugins/accounts/RapidfileshareNet.py (limited to 'module/plugins/accounts/RapidfileshareNet.py') diff --git a/module/plugins/accounts/RapidfileshareNet.py b/module/plugins/accounts/RapidfileshareNet.py new file mode 100644 index 000000000..56ae80cf0 --- /dev/null +++ b/module/plugins/accounts/RapidfileshareNet.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- + +from module.plugins.internal.XFSPAccount import XFSPAccount + + +class RapidfileshareNet(XFSPAccount): + __name__ = "RapidfileshareNet" + __type__ = "account" + __version__ = "0.01" + + __description__ = """Rapidfileshare.net account plugin""" + __license__ = "GPLv3" + __authors__ = [("guidobelix", "guidobelix@hotmail.it")] + + + HOSTER_URL = "http://www.rapidfileshare.net/" + + TRAFFIC_LEFT_PATTERN = r'>Traffic available today:' -- cgit v1.2.3 From f6d78488cfb56da8afac826a353626b56c942753 Mon Sep 17 00:00:00 2001 From: guidobelix Date: Wed, 15 Oct 2014 23:20:54 +0200 Subject: [RapidfileshareNet] Improve TRAFFIC_LEFT_PATTERN Improved TRAFFIC_LEFT_PATTERN to be able to read Units, regardless of #798. --- module/plugins/accounts/RapidfileshareNet.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/plugins/accounts/RapidfileshareNet.py') diff --git a/module/plugins/accounts/RapidfileshareNet.py b/module/plugins/accounts/RapidfileshareNet.py index 56ae80cf0..0b021aea7 100644 --- a/module/plugins/accounts/RapidfileshareNet.py +++ b/module/plugins/accounts/RapidfileshareNet.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSPAccount import XFSPAccount class RapidfileshareNet(XFSPAccount): __name__ = "RapidfileshareNet" __type__ = "account" - __version__ = "0.01" + __version__ = "0.02" __description__ = """Rapidfileshare.net account plugin""" __license__ = "GPLv3" @@ -15,4 +15,5 @@ class RapidfileshareNet(XFSPAccount): HOSTER_URL = "http://www.rapidfileshare.net/" - TRAFFIC_LEFT_PATTERN = r'>Traffic available today:' + TRAFFIC_LEFT_PATTERN = r'>Traffic available today:' + -- cgit v1.2.3 From 18836967d39d0b6e6f2aeea4e6aece605246a2bf Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 17 Oct 2014 20:55:00 +0200 Subject: Spare code cosmetics --- module/plugins/accounts/RapidfileshareNet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/accounts/RapidfileshareNet.py') diff --git a/module/plugins/accounts/RapidfileshareNet.py b/module/plugins/accounts/RapidfileshareNet.py index 0b021aea7..99a4af98b 100644 --- a/module/plugins/accounts/RapidfileshareNet.py +++ b/module/plugins/accounts/RapidfileshareNet.py @@ -16,4 +16,4 @@ class RapidfileshareNet(XFSPAccount): HOSTER_URL = "http://www.rapidfileshare.net/" TRAFFIC_LEFT_PATTERN = r'>Traffic available today:' - + -- cgit v1.2.3 From 6a6373e9b63ce7943f1a6592a641e3d8b3f31e09 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 17 Oct 2014 21:10:40 +0200 Subject: Fix TRAFFIC_LEFT_PATTERN in RapidfileshareNet and TusfilesNet accounts --- module/plugins/accounts/RapidfileshareNet.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts/RapidfileshareNet.py') diff --git a/module/plugins/accounts/RapidfileshareNet.py b/module/plugins/accounts/RapidfileshareNet.py index 99a4af98b..4a146f398 100644 --- a/module/plugins/accounts/RapidfileshareNet.py +++ b/module/plugins/accounts/RapidfileshareNet.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSPAccount import XFSPAccount class RapidfileshareNet(XFSPAccount): __name__ = "RapidfileshareNet" __type__ = "account" - __version__ = "0.02" + __version__ = "0.03" __description__ = """Rapidfileshare.net account plugin""" __license__ = "GPLv3" @@ -15,5 +15,4 @@ class RapidfileshareNet(XFSPAccount): HOSTER_URL = "http://www.rapidfileshare.net/" - TRAFFIC_LEFT_PATTERN = r'>Traffic available today:' - + TRAFFIC_LEFT_PATTERN = r'>Traffic available today:' -- cgit v1.2.3 From 7b3009db0d90cbcd5a754c69399b5e4c6abe180c Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 18 Oct 2014 13:52:42 +0200 Subject: Update accounts to use HOSTER_NAME instead HOSTER_URL --- module/plugins/accounts/RapidfileshareNet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/accounts/RapidfileshareNet.py') diff --git a/module/plugins/accounts/RapidfileshareNet.py b/module/plugins/accounts/RapidfileshareNet.py index 4a146f398..63207acbb 100644 --- a/module/plugins/accounts/RapidfileshareNet.py +++ b/module/plugins/accounts/RapidfileshareNet.py @@ -13,6 +13,6 @@ class RapidfileshareNet(XFSPAccount): __authors__ = [("guidobelix", "guidobelix@hotmail.it")] - HOSTER_URL = "http://www.rapidfileshare.net/" + HOSTER_NAME = "rapidfileshare.net" TRAFFIC_LEFT_PATTERN = r'>Traffic available today:' -- cgit v1.2.3 From e41f3d7f9bac5c5923d5e3e4ae4b373f6c90dc16 Mon Sep 17 00:00:00 2001 From: guidobelix Date: Wed, 22 Oct 2014 21:41:11 +0200 Subject: Broken TRAFFIC_LEFT_PATTERN in RapidfileshareNet and TusfilesNet account --- module/plugins/accounts/RapidfileshareNet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/accounts/RapidfileshareNet.py') diff --git a/module/plugins/accounts/RapidfileshareNet.py b/module/plugins/accounts/RapidfileshareNet.py index 63207acbb..5ca05fd91 100644 --- a/module/plugins/accounts/RapidfileshareNet.py +++ b/module/plugins/accounts/RapidfileshareNet.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSPAccount import XFSPAccount class RapidfileshareNet(XFSPAccount): __name__ = "RapidfileshareNet" __type__ = "account" - __version__ = "0.03" + __version__ = "0.04" __description__ = """Rapidfileshare.net account plugin""" __license__ = "GPLv3" @@ -15,4 +15,4 @@ class RapidfileshareNet(XFSPAccount): HOSTER_NAME = "rapidfileshare.net" - TRAFFIC_LEFT_PATTERN = r'>Traffic available today:' + TRAFFIC_LEFT_PATTERN = r'>Traffic available today: