Skip to content

SplashTextResponse mismatch with HtmlResponse in CrawlerSpider #2673

@SmartAI

Description

@SmartAI

I use splash plugin to render html in CrawlerSpider, but seems the rendered response type is SplashTextResponse, but in CrawlerSpider implementation _requests_to_follow only
allow HtmlResponse
this is the code link

So can I just remove the condition?

if not isinstance(response, HtmlResponse):
            return

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions