Scrapy download file next page

However, when you download them using Scrapy, you cannot reach the desired data using If the response is an image or another format based on images (e.g. PDF), read the If the JavaScript code is in a JavaScript file, simply read response.text . If the JavaScript code is within a