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 /Plugins/YoupornCom.py | |
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
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' |