I am trying to crawl-scrape a website with scrapy and splash.
I want to scrape a specific html code from a response which seems in the image.
Here is the response with its headers:

Here is the response (the html I want to scrape):

I can find that HTML with the Inspect Tool. What my code returns is the html which I can see with "View page source" Tool. So, this means taht Javascript modifies the code before embedding it. But, the splash role is to run javascript and return HTML, isn't it?? The response.body returns the source code of the page without the html code i need from the response i mentioned above.
import scrapy
from scrapy_splash import SplashRequest
from bs4 import BeautifulSoup
class NetherSplashSpider(scrapy.Spider):
name = 'nether_splash'
download_delay = 10
custom_settings = {
'SPLASH_URL': 'http://localhost:8050',
'DOWNLOADER_MIDDLEWARES': {
'scrapy_splash.SplashCookiesMiddleware': 723,
'scrapy_splash.SplashMiddleware': 725,
'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware': 810,
},
'SPIDER_MIDDLEWARES': {
'scrapy_splash.SplashDeduplicateArgsMiddleware': 100,
},
'DUPEFILTER_CLASS': 'scrapy_splash.SplashAwareDupeFilter',
}
def start_requests(self):
yield SplashRequest(
url='https://www.gaslicht.com/stroom-vergelijken?partial=true&aanbieders=eneco&skip=0&take=10&_=1559207102962',
callback=self.parse,
)
def parse(self, response):
filename = 'splash.html'
with open(filename, 'wb') as f:
f.write(response.body)