Issue with scraping JS rendered page with Scrapy and Splash

后端 未结 1 1956
春和景丽
春和景丽 2021-01-16 06:34

I\'m trying to scrape this page which includes following html according to chrome

Orange Paired

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-16 06:46

    Good starting point in such cases is to look at FAQ section of Splash documentation. It turns out that in your case you need to disable Private mode for Splash, either via --disable-private-mode startup option for Docker, or by setting splash.private_mode_enabled = false in your LUA script.

    Once you disable Private mode, the page renders correctly.

    0 讨论(0)
提交回复
热议问题