summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MediafireCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-03 16:57:55 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-03 16:57:55 +0100
commit03f3b86f500c495932fd118b54569d92f700847c (patch)
treead3632f59e0889c7485f2261113aef3da983b4dc /module/plugins/hoster/MediafireCom.py
parent[SimpleHoster] Fix file_info stuff (diff)
downloadpyload-03f3b86f500c495932fd118b54569d92f700847c.tar.xz
Code cosmetics about file_info and other stuff
Diffstat (limited to 'module/plugins/hoster/MediafireCom.py')
-rw-r--r--module/plugins/hoster/MediafireCom.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/hoster/MediafireCom.py b/module/plugins/hoster/MediafireCom.py
index 33a1ad71d..3ed1199f6 100644
--- a/module/plugins/hoster/MediafireCom.py
+++ b/module/plugins/hoster/MediafireCom.py
@@ -37,10 +37,12 @@ def checkHTMLHeader(url):
def getInfo(urls):
for url in urls:
location, status = checkHTMLHeader(url)
+
if status:
file_info = (url, 0, status, url)
else:
file_info = parseFileInfo(MediafireCom, url, getURL(url, decode=True))
+
yield file_info