gaocegege / csdn-blog-export

export csdn blog articles to markdown or html. 导出CSDN博客文章为markdown或html
32 stars 15 forks source link

Cannot get 'pagelist' #1

Closed cedrusx closed 8 years ago

cedrusx commented 8 years ago

Hi Gao, is this tool still supposed to work for now? I got an error as below. Could you have a check? Thanks!

Traceback (most recent call last): File "main.py", line 202, in main(sys.argv[1:]) File "main.py", line 199, in main parser.run(url, page, form) File "main.py", line 155, in run self.getAllArticleLink(url) File "main.py", line 135, in getAllArticleLink self.getPageNum(self.get(url)) File "main.py", line 122, in getPageNum res = self.getContent(soup).find(id='papelist').span AttributeError: 'NoneType' object has no attribute 'span'

gaocegege commented 8 years ago

嗯,这个是一年前写的了,晚上我去看看

gaocegege commented 8 years ago

可以提供下你的username么

cedrusx commented 8 years ago

snowflurry

2016年4月30日星期六,Ce Gao notifications@github.com 写道:

可以提供下你的username么

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/gaocegege/csdn-blog-export/issues/1#issuecomment-215935031

gaocegege commented 8 years ago

是因为你的博文不到一页,所以这样报错~我去fix一下

cedrusx commented 8 years ago

哈哈 非常感谢!

gaocegege commented 8 years ago

ok,fix了~

cedrusx commented 8 years ago

赞美!