diff --git a/src/scripts/scrape-data/post-parse.ts b/src/scripts/scrape-data/post-parse.ts index 5b29291..776e358 100644 --- a/src/scripts/scrape-data/post-parse.ts +++ b/src/scripts/scrape-data/post-parse.ts @@ -446,9 +446,7 @@ function pairUpElements(elements: IPostElement[]): IPostElement[] { // Now we find all the elements between indexes and // associate them with the previous "title" element - const data = indexes.map((i, j) => parseGroupData(i, j, indexes, shallow)); - - return data; + return indexes.map((i, j) => parseGroupData(i, j, indexes, shallow)); } function filterValidElements(element: IPostElement, index: number, array: IPostElement[]): boolean {