Class YoutubeSearchQueryHandlerFactory

    • Constructor Detail

      • YoutubeSearchQueryHandlerFactory

        public YoutubeSearchQueryHandlerFactory()
    • Method Detail

      • getUrl

        public java.lang.String getUrl​(java.lang.String searchString,
                                       @Nonnull
                                       java.util.List<java.lang.String> contentFilters,
                                       java.lang.String sortFilter)
                                throws ParsingException,
                                       java.lang.UnsupportedOperationException
        Specified by:
        getUrl in class SearchQueryHandlerFactory
        Throws:
        ParsingException
        java.lang.UnsupportedOperationException
      • getAvailableContentFilter

        public java.lang.String[] getAvailableContentFilter()
        Description copied from class: ListLinkHandlerFactory
        Will returns content filter the corresponding extractor can handle like "channels", "videos", "music", etc.
        Overrides:
        getAvailableContentFilter in class ListLinkHandlerFactory
        Returns:
        filter that can be applied when building a query for getting a list
      • getSearchParameter

        @Nonnull
        public static java.lang.String getSearchParameter​(java.lang.String contentFilter)