Skip to content

Commit

Permalink
fix(route): techcrunch cleanup useless nav element (#15441)
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanWng97 authored May 2, 2024
1 parent 1f72365 commit 4a8c561
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/routes/techcrunch/news.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ async function handler() {
const description = $('#root');
description.find('.article__title').remove();
description.find('.article__byline__meta').remove();
description.find('.mobile-header-nav').remove();
description.find('.desktop-nav').remove();
return {
title: item.title,
pubDate: item.pubDate,
Expand Down

0 comments on commit 4a8c561

Please sign in to comment.