首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在portia中呈现javascript页面?

如何在portia中呈现javascript页面?
EN

Stack Overflow用户
提问于 2015-01-19 13:56:23
回答 1查看 506关注 0票数 1

我正在使用portia来使用scrapinghub/splash中间件来呈现JavaScript页面。但在portia中加载作业页时似乎出现了以下错误。

错误:

您的web浏览器必须有JavaScript enabledin顺序才能正确显示此应用程序。

平台: portia-scrapy + scrapinghub/splash。

请告诉我如何在mozila firefox中解决这个错误。

注:本人亦曾尝试下列指示:

代码语言:javascript
复制
1. In the address bar, type about:config and press Enter.
2. Click "I'll be careful, I promise" if a warning message appears.
3. In the search box, search for javascript.enabled
Toggle the "javascript.enabled" preference (right-click and select "Toggle" or double-click the preference) to change the value from "false" to "true".
EN

回答 1

Stack Overflow用户

发布于 2015-01-20 09:25:17

目前没有官方支持与Portia一起使用splash,但增加对其的支持是一个高度优先事项。

https://github.com/scrapinghub/portia/issues/2

如果您想使用splash简单地呈现页面,您可以通过将splash中间件添加到Portia项目设置来这样做。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28026267

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档