[phantom-exo](../README.md) / [Modules](../modules.md) / marmiton/parsing # Module: marmiton/parsing ## Table of contents ### Functions - [scrapResultFromLink](marmiton_parsing.md#scrapresultfromlink) ## Functions ### scrapResultFromLink ▸ `Const` **scrapResultFromLink**(`links`, `urlStart`): { `commentCount`: `number` ; `name`: `string` ; `score`: `number` ; `url`: `string` }[] function that extract content from DOM links into the marmiton search page #### Parameters | Name | Type | Description | | :--------- | :---------- | :--------------------------------------------------------- | | `links` | `Element`[] | scrapped dom elements representing recipes in marmiton | | `urlStart` | `string` | url to prefix recipes links | #### Returns { `commentCount`: `number` ; `name`: `string` ; `score`: `number` ; `url`: `string` }[] name, link, comments and score of recipes #### Defined in marmiton/parsing.ts:7