【Python】asyncio異步爬蟲

抓取圖片URL # -*- coding: utf-8 -*- import asyncio import aiohttp from pyquery import PyQuery as pq urls = ["http://www.mzitu.com/page/{}/".format(i) for i in range(1, 157)] # 限制併發數爲5個 semaphore = async
相關文章
相關標籤/搜索