Skip to content

Add note that "allowed_domains" should be a list of domains, not URLs #2250

@redapple

Description

@redapple

(just logging the issue before I forget)

It may seem obvious by the name of the attribute that allowed_domains is about domain names, but it's not uncommon for scrapy users to make the mistake of doing allowed_domains = ['http://www.example.com']

I believe it is worth adding a note in http://doc.scrapy.org/en/latest/topics/spiders.html?#scrapy.spiders.Spider.allowed_domains

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions