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/FshareVn.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/FshareVn.py')
-rw-r--r-- | module/plugins/hoster/FshareVn.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/module/plugins/hoster/FshareVn.py b/module/plugins/hoster/FshareVn.py index 4439949f0..2ab65ae99 100644 --- a/module/plugins/hoster/FshareVn.py +++ b/module/plugins/hoster/FshareVn.py @@ -10,14 +10,11 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, parseFileInfo def getInfo(urls): for url in urls: - html = getURL('http://www.fshare.vn/check_link.php', post={ - "action": "check_link", - "arrlinks": url - }, decode=True) - - file_info = parseFileInfo(FshareVn, url, html) + html = getURL("http://www.fshare.vn/check_link.php", + post={'action': "check_link", 'arrlinks': url}, + decode=True) - yield file_info + yield parseFileInfo(FshareVn, url, html) def doubleDecode(m): |