Start a new topic

How to hide "_type" "_index" and "url" from JSON

Hi. I have noticed these parameters are added to every object on the JSON file, but I don't need them. Is there any way to prevent scrappy on adding this information? 

I used Portia to create the spider.


This is what I want to remove from the JSON file:

"_type": "",

    "_index": 102,

    "url": "",


1 Comment

EDIT: I noticed  "_template": "4d7d-4885-24d4" and "_cached_page_id": "58jkd8nbl33cpaur75aoyogr4gw" are added to each object too, I would like to get rid of these as well.

Thanks in advance

Login to post a comment