Open xgqfrms opened 4 years ago
# coding:utf8
# 导入整个模块
import logging
# import url_manager
# import html_downloader
# import html_parser
# import html_outputer
# 导入部分模块
from spider import url_manager
from spider import html_downloader
from spider import html_parser
from spider import html_outputer
# from url_manager import UrlManager
# from html_downloader import HtmlDownloader
# from html_parserimport HtmlParser
# from html_outputer import HtmlOutputer
https://www.cnblogs.com/xgqfrms/p/13431763.html
# import group modules
from spider import url_manager, html_downloader, html_parser, html_outputer
# 导入部分模块
from spider import url_manager
from spider import html_downloader
from spider import html_parser
from spider import html_outputer
Python Spider in Action
https://www.imooc.com/video/10689