update data and spider.py

This commit is contained in:
01joy
2016-01-07 12:31:13 +08:00
parent fe7b556bdd
commit bc2afcc80a
1001 changed files with 21260 additions and 13965 deletions
+1 -1
View File
@@ -71,6 +71,6 @@ if __name__ == '__main__':
config = configparser.ConfigParser()
config.read('../config.ini', 'utf-8')
root = 'http://news.sohu.com/1/0903/61/subject212846158'
news_pool = get_news_pool(root, 851, 848)
news_pool = get_news_pool(root, 854, 849)
crawl_news(news_pool, 140, config['DEFAULT']['doc_dir_path'], config['DEFAULT']['doc_encoding'])
print('done!')