MetadataEntity defines the structure for specifying how to extract metadata from web pages using the Tedi Browser network component.
Definition
Below is the definition of theMetadataEntity interface:
MetadataEntity
| Property | Type | Description |
|---|---|---|
urls | string[] | An array of URLs from which to extract metadata. |
fields | 'title' | 'description' | 'favicon' | 'url' | 'sitename' | 'images' | 'domain' | An optional field specifying which metadata fields to extract. If not specified, all available metadata fields will be extracted. |
Examples
Extract specific metadata fields:Conclusion
TheMetadataEntity provides a flexible way to extract specific or all metadata fields from web pages, enabling users to tailor their data extraction needs effectively.
