11 單線程+多任務異步協程 爬蟲

#html from lxml import etree import asyncio import aiohttp import time def callback(task): # 回調函數 page = task.result() tree = etree.HTML(page) name = tree.xpath('/html/body/div[3]/div[4]/
相關文章
相關標籤/搜索