0
我可以使用scrapy獲取所有圖像鏈接。如何從包含幻燈片的頁面獲取圖像鏈接
我可以使用scrapy獲取所有圖像鏈接。如何從包含幻燈片的頁面獲取圖像鏈接
是的,你可以。打開HTML(源代碼),你會看到
imgAr1[0] = "slides/01.jpg";
imgAr1[1] = "slides/los-altos-remodel.jpg";
imgAr1[2] = "slides/los-altos-remodeling.jpg";
imgAr1[3] = "slides/los-altos-home-remodeling.jpg";
imgAr1[4] = "slides/home-remodel-los-altos.jpg";
imgAr1[5] = "slides/remodel-los-altos.jpg";
imgAr1[6] = "slides/los-altos-remodeling-contractors.jpg";
imgAr1[7] = "slides/remodeling-los-altos.jpg";
imgAr1[8] = "slides/los-altos-home-remodel.jpg";
imgAr1[9] = "slides/home-remodeling-los-altos.jpg";
使用正則表達式,並獲得所有圖像的所有鏈接。