Creates entries based on search results. Queries are produced based on another input plugin(s).
This may seem a bit scary at first, but just remember discover is normal input like rss feed
Cookbook example: discoverfeed
discover:
  what:
    - <input plugin config>
  from:
    - <search plugin>
  [limit]: <value>
  [interval]: <value>
  [release_estimations]: <value>
  OR
  [release_estimations]:
    [optimistic]: <interval>
An overview of available search plugins can be found here. For a list of installed search plugins use command flexget plugins --interface search.
When using next_series_episodes as an input for discover it will attempt to retrieve new episodes until it fails to find more (up to 100 runs). The number of reruns can be limited with max_reruns plugin.
discover:
  what:
    - next_series_episodes: yes
  from:
    - any supported search plugin
series:
  - name
Requires series configuration or configure_series in the task.
This example would produce results from the piratebay search engine based on the movies in the list movies (default name) in the movie_list plugin. It will only search for movies that have a release date that is no more than 30 days in the future.
tasks:
  discover-movies:
    discover:
      release_estimations:
        optimistic: 30 days
      what:
        - movie_list: movies
      from:
        - piratebay:
            category: "highres movies"
            sort_by: seeds
      interval: 1 day
    list_match:
      from:
        - movie_list: movies
It's also possible to have inputs directly looked up here (but not advised as it would look up each time and not appear in your queues):
discover:
  what:
    - imdb_list:
        list: watchlist
    - trakt_list:
        account: USERNAME
        list: watchlist
        type: movies
    - movie_list: listname
  from:
    - any supported search plugin
See list_match and movie_list for further information.