diff options
author | spoob <spoob@gmx.de> | 2009-06-05 13:35:10 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-06-05 13:35:10 +0200 |
commit | a8cfc154fc35edc16d10672712a6a3b36c6b9560 (patch) | |
tree | 2140cbe9d5e72905cc4d3a7bc74bcf21cd3ff3ab /Plugins/YoupornCom.py | |
parent | merged (diff) | |
download | pyload-a8cfc154fc35edc16d10672712a6a3b36c6b9560.tar.xz |
removed useless function get_parent_status
Diffstat (limited to 'Plugins/YoupornCom.py')
-rw-r--r-- | Plugins/YoupornCom.py | 10 |
1 files changed, 0 insertions, 10 deletions
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' |