diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-05 13:49:59 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-05 13:49:59 +0200 |
commit | 5621ab9bf0618295cc83563437c1b49321d23bed (patch) | |
tree | e648fbf72b21ce8f055660f09e11d01bc8ba1196 | |
parent | request cookies support, Shragle Plugin, Youtube Channel Plugin, Bluehost Plu... (diff) | |
parent | removed useless function get_parent_status (diff) | |
download | pyload-5621ab9bf0618295cc83563437c1b49321d23bed.tar.xz |
merged
-rw-r--r-- | Plugins/RSDF.py | 3 | ||||
-rw-r--r-- | Plugins/UploadedTo.py | 11 | ||||
-rw-r--r-- | Plugins/XupIn.py | 9 | ||||
-rw-r--r-- | Plugins/YoupornCom.py | 10 | ||||
-rw-r--r-- | Plugins/YoutubeCom.py | 9 | ||||
-rw-r--r-- | Plugins/ZippyshareCom.py | 9 | ||||
-rw-r--r-- | Plugins/ZshareNet.py | 9 |
7 files changed, 1 insertions, 59 deletions
diff --git a/Plugins/RSDF.py b/Plugins/RSDF.py index bbbf3d960..74c07a007 100644 --- a/Plugins/RSDF.py +++ b/Plugins/RSDF.py @@ -27,9 +27,6 @@ class RSDF(Plugin): """ returns True or False """ return True - - def __call__(self): - return self.props['name'] def proceed(self, url, location): try: diff --git a/Plugins/UploadedTo.py b/Plugins/UploadedTo.py index aeda42f1c..67c8685fa 100644 --- a/Plugins/UploadedTo.py +++ b/Plugins/UploadedTo.py @@ -22,17 +22,8 @@ class UploadedTo(Plugin): self.html_old = None #time() where loaded the HTML self.time_plus_wait = None #time() + wait in seconds self.want_reconnect = None - self.multi_dl = False + self.multi_dl = False - def set_parent_status(self): - """ sets all available Statusinfos about a File in self.parent.status - """ - if self.html == None: - self.download_html() - self.parent.status.filename = self.get_file_name() - self.parent.status.url = self.get_file_url() - self.parent.status.wait = self.wait_until() - def download_html(self): url = self.parent.url self.html = self.req.load(url) diff --git a/Plugins/XupIn.py b/Plugins/XupIn.py index 534be2e94..21bcd3434 100644 --- a/Plugins/XupIn.py +++ b/Plugins/XupIn.py @@ -23,15 +23,6 @@ class XupIn(Plugin): self.posts = {} self.want_reconnect = None self.multi_dl = False - - def set_parent_status(self): - """ sets all available Statusinfos about a File in self.parent.status - """ - if self.html == None: - self.download_html() - self.parent.status.filename = self.get_file_name() - self.parent.status.url = self.get_file_url() - self.parent.status.wait = self.wait_until() def download_html(self): url = self.parent.url diff --git a/Plugins/YoupornCom.py b/Plugins/YoupornCom.py index ff5ef67e3..f26d237f1 100644 --- a/Plugins/YoupornCom.py +++ b/Plugins/YoupornCom.py @@ -20,15 +20,6 @@ class YoupornCom(Plugin): self.html = None self.html_old = None #time() where loaded the HTML self.time_plus_wait = None #time() + wait in seconds - - def set_parent_status(self): - """ sets all available Statusinfos about a File in self.parent.status - """ - if self.html == None: - self.download_html() - self.parent.status.filename = self.get_file_name() - self.parent.status.url = self.get_file_url() - self.parent.status.wait = self.wait_until() def download_html(self): url = self.parent.url @@ -45,7 +36,6 @@ class YoupornCom(Plugin): def get_file_name(self): if self.html == None: self.download_html() - print "so far (name)" file_name_pattern = r"<title>(.*) - Free Porn Videos - YouPorn.com Lite.*" return re.search(file_name_pattern, self.html).group(1) + '.flv' diff --git a/Plugins/YoutubeCom.py b/Plugins/YoutubeCom.py index 0d5a2bf6d..0d738d52d 100644 --- a/Plugins/YoutubeCom.py +++ b/Plugins/YoutubeCom.py @@ -18,15 +18,6 @@ class YoutubeCom(Plugin): self.props = props self.parent = parent self.html = None - - def set_parent_status(self): - """ sets all available Statusinfos about a File in self.parent.status - """ - if self.html == None: - self.download_html() - self.parent.status.filename = self.get_file_name() - self.parent.status.url = self.get_file_url() - self.parent.status.wait = self.wait_until() def download_html(self): url = self.parent.url diff --git a/Plugins/ZippyshareCom.py b/Plugins/ZippyshareCom.py index 17e7288f9..59bce0623 100644 --- a/Plugins/ZippyshareCom.py +++ b/Plugins/ZippyshareCom.py @@ -22,15 +22,6 @@ class ZippyshareCom(Plugin): self.html = None self.want_reconnect = False self.multi_dl = False - - def set_parent_status(self): - """ sets all available Statusinfos about a File in self.parent.status - """ - if self.html == None: - self.download_html() - self.parent.status.filename = self.get_file_name() - self.parent.status.url = self.get_file_url() - self.parent.status.wait = self.wait_until() def download_html(self): url = self.parent.url diff --git a/Plugins/ZshareNet.py b/Plugins/ZshareNet.py index 58c32e0ed..0979e88c7 100644 --- a/Plugins/ZshareNet.py +++ b/Plugins/ZshareNet.py @@ -23,15 +23,6 @@ class ZshareNet(Plugin): self.posts = {} self.want_reconnect = False self.multi_dl = False - - def set_parent_status(self): - """ sets all available Statusinfos about a File in self.parent.status - """ - if self.html[0] == None: - self.download_html() - self.parent.status.filename = self.get_file_name() - self.parent.status.url = self.get_file_url() - self.parent.status.wait = self.wait_until() def download_html(self): url = self.parent.url |