# Overview

The fetch tasks run by the YouTube Connector are configured using Lua scripts. One or more Lua scripts is supplied with the connector, and you do not need to modify the script(s) unless you want to customize how information is retrieved from YouTube or how the information is converted into documents.

Multiple jobs can be configured to use the same script with alternative configurations to change the behavior of the script, or can be configured to use different scripts entirely.

The Lua script defines:

- the configuration options that apply to all feeds the script supports.
- the URLs of the feeds to be processed.
- operations that validate the downloaded feeds.
- operations that are performed before and after processing a feed.
- additional URLs or paging parameters for a feed.
- the elements within the feed XML that represent entries to be indexed.
- operations that are performed before and after processing an entry.
- additional URLs containing metadata for an entry.
- metadata and content extraction for an entry into a document.
- incremental behavior using modified dates or datastore parameters.

For more information on the functions that can be defined in the Lua script, see Definable Lua Functions Overview.

_FT_HTML5_bannerTitle.htm