From d69a759ae021c8da4a53780c80e91790a0591be8 Mon Sep 17 00:00:00 2001 From: confievil <72185542+confievil@users.noreply.github.com> Date: Thu, 1 Oct 2020 12:10:39 +0530 Subject: [PATCH] Update spider_main.py --- spider_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spider_main.py b/spider_main.py index 382a34f..172b466 100644 --- a/spider_main.py +++ b/spider_main.py @@ -40,7 +40,7 @@ def craw(self, root_url): if __name__ == '__main__': #设置爬虫入口 - root_url = 'http://baike.baidu.com/view/21087.htm' + root_url = 'http://baike.baidu.com/view/21087.html' #开始时间 print('开始计时..............') start_time = datetime.datetime.now()