Search in sources :

Example 1 with YoutubeSuggestionExtractor

use of org.schabi.newpipe.extractor.services.youtube.YoutubeSuggestionExtractor in project NewPipe by TeamNewPipe.

the class YoutubeSearchResultTest method setUp.

@Before
public void setUp() throws Exception {
    NewPipe.init(Downloader.getInstance());
    SuggestionExtractor engine = new YoutubeSuggestionExtractor(0);
    suggestionReply = engine.suggestionList("hello", "de");
}
Also used : YoutubeSuggestionExtractor(org.schabi.newpipe.extractor.services.youtube.YoutubeSuggestionExtractor) SuggestionExtractor(org.schabi.newpipe.extractor.SuggestionExtractor) YoutubeSuggestionExtractor(org.schabi.newpipe.extractor.services.youtube.YoutubeSuggestionExtractor) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 SuggestionExtractor (org.schabi.newpipe.extractor.SuggestionExtractor)1 YoutubeSuggestionExtractor (org.schabi.newpipe.extractor.services.youtube.YoutubeSuggestionExtractor)1