Last active
December 18, 2015 19:09
-
-
Save laonger/5831300 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getMaxpage(): | |
page=2 | |
dir_url="http://aa.wordpress.com/2013/06/page/"+str(page) | |
while getPageFlag(dir_url): | |
page=page+1 | |
dir_url="http://fashioncoolture.com.br/2013/06/page/"+str(page)#这个要更新的 | |
print page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment