From caaf365ec934606a98e34a1ea3b98b3967bb2dcd Mon Sep 17 00:00:00 2001 From: Jeix Date: Wed, 5 Jan 2011 19:09:29 +0100 Subject: fixed youtube and youporn, thx LvX (forum.pyload.org/viewtopic.php?t=276) --- module/plugins/hoster/YoupornCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hoster/YoupornCom.py') diff --git a/module/plugins/hoster/YoupornCom.py b/module/plugins/hoster/YoupornCom.py index c9fa4e465..b17a4ef80 100644 --- a/module/plugins/hoster/YoupornCom.py +++ b/module/plugins/hoster/YoupornCom.py @@ -42,7 +42,7 @@ class YoupornCom(Hoster): if self.html is None: self.download_html() - file_name_pattern = r".*(.*) - Free Porn Videos - YouPorn.com Lite \(BETA\).*" + file_name_pattern = r"(.*) - Free Porn Videos - YouPorn" return re.search(file_name_pattern, self.html).group(1).replace("&", "&").replace("/","") + '.flv' def file_exists(self): -- cgit v1.2.3