|
@@ -87,6 +87,8 @@ class Details(feapder.BiddingDetailSpider):
|
|
file_type = file_url.split("?")[0].split(".")[-1].lower()
|
|
file_type = file_url.split("?")[0].split(".")[-1].lower()
|
|
if file_type not in files_info.get("files_type"):
|
|
if file_type not in files_info.get("files_type"):
|
|
file_type = file_name.split("?")[0].split(".")[-1].lower()
|
|
file_type = file_name.split("?")[0].split(".")[-1].lower()
|
|
|
|
+ else:
|
|
|
|
+ file_type = files_info.get("file_type")
|
|
|
|
|
|
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(
|