diff options
author | 2014-11-03 16:57:55 +0100 | |
---|---|---|
committer | 2014-11-03 16:57:55 +0100 | |
commit | 03f3b86f500c495932fd118b54569d92f700847c (patch) | |
tree | ad3632f59e0889c7485f2261113aef3da983b4dc /module/plugins/hoster/MegaRapidCz.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/MegaRapidCz.py')
-rw-r--r-- | module/plugins/hoster/MegaRapidCz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/MegaRapidCz.py b/module/plugins/hoster/MegaRapidCz.py index a40f26ab0..b3100b6d4 100644 --- a/module/plugins/hoster/MegaRapidCz.py +++ b/module/plugins/hoster/MegaRapidCz.py @@ -13,10 +13,10 @@ def getInfo(urls): h.c.setopt(HTTPHEADER, ["Accept: text/html", "User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0"]) + for url in urls: html = h.load(url, decode=True) - file_info = parseFileInfo(MegaRapidCz, url, html) - yield file_info + yield parseFileInfo(MegaRapidCz, url, html) class MegaRapidCz(SimpleHoster): |