def fetch(self, request, spider):
        """download_func"""
        info = self._extract_key_info(request)

        ret = self.store.fetch_file(request.url, info['key'], info['bucket'])
        return Response(request.url, body=json.dumps(ret))
def fetch ( self , request , spider ) : info = self . _extract_key_info ( request ) ret = self . store . fetch_file ( request . url , info [ 'key' ] , info [ 'bucket' ] ) return Response ( request . url , body = json . dumps ( ret ) )
download_func