第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

使用起始網(wǎng)址在分頁鏈接中刮擦不起作用

使用起始網(wǎng)址在分頁鏈接中刮擦不起作用

開滿天機 2021-05-14 19:19:30
我試圖刮掉一個帶有分頁鏈接的網(wǎng)站,所以我這樣做了import scrapyclass SummymartSpider(scrapy.Spider):    name = 'dummymart'    allowed_domains = ['www.dummrmart.com/product']    start_urls = ['https://www.dummymart.net/product/auto-parts--118?page%s'% page for page in range(1,20)]有效??!與單個網(wǎng)址,它的工作原理,但當(dāng)我嘗試做到這一點:  import scrapy    class DummymartSpider(scrapy.Spider):        name = 'dummymart'        allowed_domains = ['www.dummymart.com/product']        start_urls = ['https://www.dummymart.net/product/auto-parts--118?page%s',        'https://www.dummymart.net/product/accessories-tools--112?id=1316264860?page%s'% page for page in range(1,20)]它不起作用,但是對于多個URL,我如何實現(xiàn)相同的邏輯?謝謝
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 164 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號