scrapy-selenium icon indicating copy to clipboard operation
scrapy-selenium copied to clipboard

Using Crawlera with Scrapy-Selenium

Open jlim782 opened this issue 5 years ago • 0 comments

Hello,

I am trying to use scrapy-selenium with Crawlera but haven't had any luck. Requests are sent, and responses come back, but the Crawlera dashboard doesn't show the requests as received.

Is it possible to use SeleniumRequest with Crawlera? I'm not sure if changing the orders of DOWNLOADER_MIDDLEWARES would help. Here's my configuration

DOWNLOADER_MIDDLEWARES = {
    'scrapy_crawlera.CrawleraMiddleware': 610,
    'scraper.middlewares.ScraperDownloaderMiddleware': 620,
    'scrapy_selenium.SeleniumMiddleware': 800
}

For my project, using Scrapy-Splash is not an option.

Here are the versions of the related software packages

    - scrapy==1.5.1
    - scrapy-crawlera==1.4.0

Thanks a lot in advance

jlim782 avatar Mar 01 '19 00:03 jlim782