diff options
Diffstat (limited to 'module/plugins/hoster/XVideosCom.py')
-rw-r--r-- | module/plugins/hoster/XVideosCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/XVideosCom.py b/module/plugins/hoster/XVideosCom.py index b7f3f7b58..48a1f934d 100644 --- a/module/plugins/hoster/XVideosCom.py +++ b/module/plugins/hoster/XVideosCom.py @@ -1,9 +1,9 @@ - import re import urllib from module.plugins.Hoster import Hoster + class XVideosCom(Hoster): __name__ = "XVideos.com" __version__ = "0.1" @@ -12,7 +12,7 @@ class XVideosCom(Hoster): def process(self, pyfile): site = self.load(pyfile.url) - pyfile.name = "%s (%s).flv" %( + pyfile.name = "%s (%s).flv" % ( re.search(r"<h2>([^<]+)<span", site).group(1), re.search(self.__pattern__, pyfile.url).group(1), ) |