How to render the javascript page in portia?

526 Views Asked by At

I am using the portia for rendering the JavaScript page using scrapinghub/splash middleware. but its seem following error during loading job page in portia.

Error:

Your web browser must have JavaScript enabledin order for this application to display correctly.

Platform: portia-scrapy + scrapinghub/splash.

Please let me know how to resolve this error in mozila firefox.

Note: Also i have tried following instruction :

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".
1

There are 1 best solutions below

6
On

There is currently no official support for using splash in conjunction with Portia but adding support for it is a high priority.

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

If you would like to use splash for simply rendering the page you can do so by adding the splash middleware to the Portia projects settings.