|
@@ -86,7 +86,7 @@ class Details(feapder.BiddingDetailSpider):
|
|
if file_type in files_info.get("files_type") and files_info.get("url_key") in file_url:
|
|
if file_type in files_info.get("files_type") and files_info.get("url_key") in file_url:
|
|
attachment = AttachmentDownloader().fetch_attachment(
|
|
attachment = AttachmentDownloader().fetch_attachment(
|
|
file_name=file_name, file_type=file_type, download_url=file_url,
|
|
file_name=file_name, file_type=file_type, download_url=file_url,
|
|
- enable_proxy=False, proxies=fpx)
|
|
|
|
|
|
+ proxies=fpx, headers=request.to_dict.get('headers', response.headers))
|
|
attachments[str(len(attachments) + 1)] = attachment
|
|
attachments[str(len(attachments) + 1)] = attachment
|
|
if attachments:
|
|
if attachments:
|
|
list_item.projectinfo = {"attachments": attachments}
|
|
list_item.projectinfo = {"attachments": attachments}
|