You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extractBlogLists 函数中for循环默认执行1000次,对于文章少的用户需要等的时间太长,对于文章超多的用户遍历不完所有文章,建议先从 http://blog.csdn.net/user_name 页面计算出用户文章总数。
页面左边个人资料版块有信息 “ 原创:a篇 转载:b篇 译文:c篇”, 文章总数就为 (a + b + c)。然后计算确定 for 循环次数,比如设为 (a + b + c + 50),这样就能解决上述问题。