From 47ccb4a14510c64bbfbc02b93a1d647af7954c15 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Thu, 3 Feb 2022 22:34:59 +0100 Subject: [PATCH] Well this is embarrassing but not unexpected given my history with releases here --- play-dl/YouTube/utils/parser.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/play-dl/YouTube/utils/parser.ts b/play-dl/YouTube/utils/parser.ts index 03cd40c..a203953 100644 --- a/play-dl/YouTube/utils/parser.ts +++ b/play-dl/YouTube/utils/parser.ts @@ -3,7 +3,6 @@ import { YouTubePlayList } from '../classes/Playlist'; import { YouTubeChannel } from '../classes/Channel'; import { YouTube } from '..'; import { YouTubeThumbnail } from '../classes/Thumbnail'; -import { writeFileSync } from 'fs'; const BLURRED_THUMBNAILS = [ '-oaymwEpCOADEI4CSFryq4qpAxsIARUAAAAAGAElAADIQj0AgKJDeAHtAZmZGUI=', @@ -48,7 +47,6 @@ export function ParseSearchResult(html: string, options?: ParseSearchInterface): const details = json_data.contents.twoColumnSearchResultsRenderer.primaryContents.sectionListRenderer.contents[0] .itemSectionRenderer.contents; - writeFileSync('results.json', JSON.stringify(details)); for (const detail of details) { if (hasLimit && results.length === options.limit) break; if (!detail.videoRenderer && !detail.channelRenderer && !detail.playlistRenderer) continue;