diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2009-12-27 14:01:43 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2009-12-27 14:01:43 +0800 |
commit | 41c845b3bfe9d8c10cf12ef2796b735d89ca7be7 (patch) | |
tree | 50cd0ef371329fb0bd39b0ce77205ce5a6d27b26 | |
parent | 96e973b1efd50fcec6e78e66f2baa19b9af30816 (diff) |
pplist: fixed a offset by one bug
-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 5aff637..b507801 100644 --- a/totem/plugin/ppslist.py +++ b/totem/plugin/ppslist.py @@ -412,7 +412,7 @@ class PPSList: keyword = unicode(keyword, 'utf-8').encode('gb18030') url = baseurl + urllib.quote(keyword) + '/' if page_id > 0: - url += "%d.html" % page_id + url += "%d.html" % (page_id + 1) s = download(url, interval = 10) #print keyword, url, gbk2utf8(s) return s |