Commit 6af82443 authored by 段英荣's avatar 段英荣

增加搜索爬取功能

parent d296ddef
......@@ -290,7 +290,7 @@ if __name__ == '__main__':
#account.test_member_article()
zhihu_spider_data = "./zhihu_spider_data.txt"
zhihu_spider_fd = open(zhihu_spider_data)
zhihu_spider_fd = open(zhihu_spider_data,"w")
account.zhihu_query_by_word(top_query_list[0],zhihu_spider_fd)
zhihu_spider_fd.close()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment