diff --git a/lib/routes/dribbble/utils.js b/lib/routes/dribbble/utils.js index 71321641d..ac96e50e2 100644 --- a/lib/routes/dribbble/utils.js +++ b/lib/routes/dribbble/utils.js @@ -31,11 +31,11 @@ async function ProcessFeed(list, caches) { list.map(async (item) => { const $ = cheerio.load(item); - const itemUrlPath = - $('.animated-target').attr('href') || - $('.extras > a') - .attr('href') - .replace('/rebounds', ''); + // the rebounds link is used because all other links in the html could + // possibly point to /signup/new when loading the site while not logged in. + const itemUrlPath = $('.extras > a') + .attr('href') + .replace('/rebounds', ''); const itemUrl = url.resolve(host, itemUrlPath); const team = $('.attribution-team').text() ? ' for ' + $('.attribution-team a.url').text() : '';