summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/GamefrontCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-22 19:44:59 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-22 19:47:17 +0200
commit0eb6e7ec4a1144dcca824d8add049787d3da1762 (patch)
treed653f5fe28bb247a3c4fadeca9bf6278d744f929 /module/plugins/hoster/GamefrontCom.py
parentSpare code cosmetics (diff)
downloadpyload-0eb6e7ec4a1144dcca824d8add049787d3da1762.tar.xz
Two space before function declaration
Diffstat (limited to 'module/plugins/hoster/GamefrontCom.py')
-rw-r--r--module/plugins/hoster/GamefrontCom.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/plugins/hoster/GamefrontCom.py b/module/plugins/hoster/GamefrontCom.py
index b7e7f0bc8..2009d06ab 100644
--- a/module/plugins/hoster/GamefrontCom.py
+++ b/module/plugins/hoster/GamefrontCom.py
@@ -28,6 +28,7 @@ class GamefrontCom(Hoster):
self.resumeDownload = self.multiDL = True
self.chunkLimit = -1
+
def process(self, pyfile):
self.pyfile = pyfile
self.html = self.load(pyfile.url, decode=True)
@@ -44,12 +45,14 @@ class GamefrontCom(Hoster):
self.download(link)
+
def _checkOnline(self):
if re.search(self.PATTERN_OFFLINE, self.html):
return False
else:
return True
+
def _getName(self):
name = re.search(self.PATTERN_FILENAME, self.html)
if name is None:
@@ -57,6 +60,7 @@ class GamefrontCom(Hoster):
return name.group(1)
+
def _getLink(self):
self.html2 = self.load("http://www.gamefront.com/" + re.search("(files/service/thankyou\\?id=\w+)",
self.html).group(1))