summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/YourfilesTo.py5
1 files changed, 2 insertions, 3 deletions
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