Skip to content

Import Request in the Template file #2733

Closed
@zhongdai

Description

@zhongdai

I have been creating many spiders recently, and I noticed I had to add below line every time

from scrapy.http import Request

I think for most cases we need the Request to crawl to other pages, only for very simple spider we don't need that. Is it possible to include that line to the template?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions