Scrapy-elasticsearch plugin issue
The file is located in your site-packages
directory of your python installation. So if you're running on system's python (not a virtual environment) it would be something like:
/usr/lib/python3.5/site-packages/
However, you should not modify site-package data!
What you should do is clone or fork the project on github, make your changes to it, and install this fork on your system.
git clone https://github.com/knockrentals/scrapy-elasticsearch.gitcd scrapy-elasticsearchyour_editing_program 'scrapyelasticsearch/scrapyelasticsearch.py'# make changespip uninstall scrapy-elasticsearch # uninstall old original packagepip install . # install your package, you can also add -e flag for real time modifications