diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-03 16:57:55 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-03 16:57:55 +0100 |
commit | 03f3b86f500c495932fd118b54569d92f700847c (patch) | |
tree | ad3632f59e0889c7485f2261113aef3da983b4dc /module/plugins/hoster/MediafireCom.py | |
parent | [SimpleHoster] Fix file_info stuff (diff) | |
download | pyload-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.py | 2 |
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 |