Eric,基于多搜索引擎的自动问答机器人

Eric(https://github.com/SnakeHacker/QA-Snake)是一个采用Python编写的基于多搜索引擎和AIML技术的问答机器人,英文名的意思是多才多艺的(这也是我想赋予他的)。目前支持的功能有:闲聊,通用问答等。本文主要讲述我在写Eric的过程中对于问答系统的一些思考[……]

→Continue→

新浪微博爬虫——Selenium半自动登录解决反爬问题

Fatal error: Uncaught Error: Call to a member function id() on array in /data/htdocs/snakehacker.host.smartgslb.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /data/htdocs/snakehacker.host.smartgslb.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /data/htdocs/snakehacker.host.smartgslb.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', '#coding:utf8\r\ni...') #3 /data/htdocs/snakehacker.host.smartgslb.com/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('#coding:utf8\r\ni...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /data/htdocs/snakehacker.host.smartgslb.com/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighl in /data/htdocs/snakehacker.host.smartgslb.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36