Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
blablupcom committed Jun 10, 2015
1 parent 07f8c23 commit 91bde46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -236,7 +236,7 @@ def get_attachments (tender_soup):

attach_list = []
attach_list = get_attachments(tender_soup)
scraperwiki.sqlite.save(unique_keys=['l'], data={"l": unicode(link).encode('utf-8'), "tender_id": unicode(tender_id).encode('utf-8'), "buyer": unicode(buyer).encode('utf-8'), "title" : unicode(title).encode('utf-8'), "categories": unicode(categories).encode('utf-8'), "d": todays_date})
scraperwiki.sqlite.save(unique_keys=['l'], data={"l": unicode(link).decode('utf-8').encode('utf-8'), "tender_id": unicode(tender_id).decode('utf-8').encode('utf-8'), "buyer": unicode(buyer).decode('utf-8').encode('utf-8'), "title" : unicode(title).decode('utf-8').encode('utf-8'), "categories": unicode(categories).decode('utf-8').encode('utf-8'), "d": todays_date})
# "contact_name": unicode(contact_name), "contact_phone": contact_phone, "contact_addr": contact_addr.decode('utf-8'), "contract_start": contract_start, "contract_end": contract_end, "eoi_start": eoi_start, "eoi_end": eoi_end, "est_value": est_value, "contract_duration": contract_duration.decode('utf-8'),"extension_duration": extension_duration.decode('utf-8'), "extension_iterations": extension_iterations.decode('utf-8'), "attach_list": unicode(attach_list),
# "contact_email": unicode(contact_email),
# "summary": summary.decode('utf-8')
Expand Down

0 comments on commit 91bde46

Please sign in to comment.