Fix: use direct notice URLs for Contracts Finder and Sell2Wales instead of search fallbacks
This commit is contained in:
@@ -67,7 +67,7 @@ async function scrapeTenders() {
|
||||
const title = link.text().trim();
|
||||
if (!title || title.length === 0) continue;
|
||||
|
||||
const noticeUrl = href.startsWith('http') ? href : 'https://www.sell2wales.gov.wales' + href;
|
||||
const noticeUrl = release.url || ('https://sell2wales.gov.wales/Search/notice/' + sourceId);
|
||||
|
||||
// Get the parent container for this tender
|
||||
const container = link.closest('div, li, tr');
|
||||
|
||||
Reference in New Issue
Block a user