diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2010-01-22 08:53:13 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2010-01-22 08:53:13 +0800 |
commit | 5711c35580b7b22719c0bed51053d2c826126f1e (patch) | |
tree | 92263e8f0657a5fde8e8ad4b38185206c71d4fc8 | |
parent | 637311f1be4fa50e4ca714e6a5260b6f03c150d6 (diff) |
ppslist: return curpage to caller
-rw-r--r-- | totem/plugin/ppslist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/totem/plugin/ppslist.py b/totem/plugin/ppslist.py index 248d44d..9e956aa 100644 --- a/totem/plugin/ppslist.py +++ b/totem/plugin/ppslist.py @@ -435,7 +435,7 @@ def parseMoviePlayList(s): maxpage = int(refs[-1].contents[-1]) spans = pagenav[0].findAll('span') curpage = int(spans[0].contents[-1]) - return (files, max(maxpage, curpage) + 1) + return (files, max(maxpage, curpage) + 1, curpage) def getMovieFileList(movie): s = download(movie.playerurl) |