summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ZippyshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/ZippyshareCom.py')
-rw-r--r--module/plugins/hoster/ZippyshareCom.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py
index 3f392133a..27ec598e1 100644
--- a/module/plugins/hoster/ZippyshareCom.py
+++ b/module/plugins/hoster/ZippyshareCom.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
import re
+from urllib import unquote
from BeautifulSoup import BeautifulSoup
@@ -52,6 +53,9 @@ class ZippyshareCom(SimpleHoster):
else:
self.link = self.get_link()
+ if pyfile.name == 'file.html' and self.link:
+ pyfile.name = unquote(self.link.split('/')[-1])
+
def get_link(self):
# get all the scripts inside the html body