diff --git a/lib/notion/getNotionData.js b/lib/notion/getNotionData.js index d76499b8..50c84696 100644 --- a/lib/notion/getNotionData.js +++ b/lib/notion/getNotionData.js @@ -223,7 +223,8 @@ async function getPageRecordMapByNotionAPI({ pageId, from }) { return post && post.type && (post.type === 'Post' || post.type === 'Page') && - (post.status === 'Published' || post.status === 'Invisible') + (post.status === 'Published' || post.status === 'Invisible') && + (!post.slug.startsWith('http')) }) // Sort by date