N
N
naruto_hokagi2018-04-22 19:49:36
Python
naruto_hokagi, 2018-04-22 19:49:36

How to scrape only the first two pages of a site in scrapy?

Hello, I just started learning scrapy, I'm trying to write my first scraper, the site is multi-page, and my spider parses all 10 pages, but I only need the first 2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2018-04-22
@dimonchik2013

restrict by ID e.g. regexp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question