summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DepositfilesCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/DepositfilesCom.py')
-rw-r--r--module/plugins/hoster/DepositfilesCom.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py
index b2cab30de..24b168f07 100644
--- a/module/plugins/hoster/DepositfilesCom.py
+++ b/module/plugins/hoster/DepositfilesCom.py
@@ -21,6 +21,9 @@ class DepositfilesCom(Hoster):
def process(self, pyfile):
+ if re.search(r"(.*)\.html", self.pyfile.url):
+ self.pyfile.url = re.search(r"(.*)\.html", self.pyfile.url).group(1)
+
self.html = self.load(self.pyfile.url, cookies=True if self.account else False)
if '<span class="html_download_api-not_exists"></span>' in self.html: