/usr/local/lib/python2.7/site-packages/beautifulsoup4-4.6.0-py2.7.egg/bs4/__init__.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 202 of the file toHexo.py. To get rid of this warning, change code that looks like this:
BeautifulSoup(YOUR_MARKUP})
to this:
BeautifulSoup(YOUR_MARKUP, "html.parser")
markup_type=markup_type))
Traceback (most recent call last):
File "toHexo.py", line 202, in <module>
main()
File "toHexo.py", line 198, in main
parser.run(url, args.page, args.type)
File "toHexo.py", line 162, in run
self.getAllArticleUrl(url)
File "toHexo.py", line 143, in getAllArticleUrl
self.getPageNum(self.get(url))
File "toHexo.py", line 137, in getPageNum
pages = ul.find_all('a', class_="page-link")
AttributeError: 'NoneType' object has no attribute 'find_all'