Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6888233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:59:09+00:00 2026-05-27T05:59:09+00:00

I am trying to crawl sites in a very basic manner. But Scrapy isn’t

  • 0

I am trying to crawl sites in a very basic manner. But Scrapy isn’t crawling all the links. I will explain the scenario as follows-

main_page.html -> contains links to a_page.html, b_page.html, c_page.html
a_page.html -> contains links to a1_page.html, a2_page.html
b_page.html -> contains links to b1_page.html, b2_page.html
c_page.html -> contains links to c1_page.html, c2_page.html
a1_page.html -> contains link to b_page.html
a2_page.html -> contains link to c_page.html
b1_page.html -> contains link to a_page.html
b2_page.html -> contains link to c_page.html
c1_page.html -> contains link to a_page.html
c2_page.html -> contains link to main_page.html

I am using the following rule in CrawlSpider –

Rule(SgmlLinkExtractor(allow = ()), callback = 'parse_item', follow = True))

But the crawl results are as follows –

DEBUG: Crawled (200) http://localhost/main_page.html> (referer:
None) 2011-12-05 09:56:07+0530 [test_spider] DEBUG: Crawled (200) http://localhost/a_page.html> (referer:
http://localhost/main_page.html) 2011-12-05 09:56:07+0530
[test_spider] DEBUG: Crawled (200) http://localhost/a1_page.html>
(referer: http://localhost/a_page.html) 2011-12-05 09:56:07+0530
[test_spider] DEBUG: Crawled (200) http://localhost/b_page.html>
(referer: http://localhost/a1_page.html) 2011-12-05 09:56:07+0530
[test_spider] DEBUG: Crawled (200) http://localhost/b1_page.html>
(referer: http://localhost/b_page.html) 2011-12-05 09:56:07+0530
[test_spider] INFO: Closing spider (finished)

It is not crawling all the pages.

NB – I have made the crawling in BFO as it was indicated in the Scrapy Doc.

What am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:59:09+00:00Added an answer on May 27, 2026 at 5:59 am

    I had a similar problem today, although I was using a custom spider.
    It turned out that the website was limiting my crawl because my useragent was scrappy-bot

    try changing your user agent and try again. Change it to maybe that of a known browser

    Another thing you might want to try is adding a delay. Some websites prevent scraping if the time between request is too small. Try adding a DOWNLOAD_DELAY of 2 and see if that helps

    More information about DOWNLOAD_DELAY at
    http://doc.scrapy.org/en/0.14/topics/settings.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to crawl a webpage, and get all the links, and add them
I'm trying to recursively crawl through all the available links in a page, and
I'm trying to crawl about a thousand of web sites, from which I'm interested
I'm trying to get crawl to work on two separate farms I have but
I have been trying to get a simple spider to run with scrapy, but
I'm trying to crawl FTP and pull down all the files recursively. Up until
I'm trying to test out some XPaths using the Scrapy shell, but it seems
I'm trying to test Scrapy for crawling web pages and I do not understand
i am just trying to crawl a single page start_urls = ['https://www.mileageplusshopping.com/shopping/b____alpha.htm'] but redirecting
Trying to keep all the presentation stuff in the xhtml on this project and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.