From 9a83a14b4886c71cabdc388f460d5c03506b759e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 20 Sep 2011 21:05:53 +0200 Subject: yourfiles.biz fix --- module/plugins/hoster/YourfilesTo.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster/YourfilesTo.py') diff --git a/module/plugins/hoster/YourfilesTo.py b/module/plugins/hoster/YourfilesTo.py index f2f44d41b..b67ccb68d 100644 --- a/module/plugins/hoster/YourfilesTo.py +++ b/module/plugins/hoster/YourfilesTo.py @@ -4,12 +4,11 @@ import re import urllib from module.plugins.Hoster import Hoster -from time import time class YourfilesTo(Hoster): __name__ = "YourfilesTo" __type__ = "hoster" - __pattern__ = r"(http://)?(www\.)?yourfiles\.to/\?d=[a-zA-Z0-9]+" + __pattern__ = r"(http://)?(www\.)?yourfiles\.(to|biz)/\?d=[a-zA-Z0-9]+" __version__ = "0.2" __description__ = """Youfiles.to Download Hoster""" __author_name__ = ("jeix", "skydancer") @@ -50,7 +49,7 @@ class YourfilesTo(Hoster): def download_html(self): url = self.pyfile.url - self.html = self.load(url, cookies=True) + self.html = self.load(url) def get_file_url(self): """ returns the absolute downloadable filepath -- cgit v1.2.3