use of org.schabi.newpipe.extractor.search.SearchEngine in project NewPipe by TeamNewPipe.
the class YoutubeSearchEngineChannelTest method setUp.
@Before
public void setUp() throws Exception {
NewPipe.init(Downloader.getInstance());
SearchEngine engine = NewPipe.getService("Youtube").getSearchEngineInstance();
result = engine.search("gronkh", 0, "de", EnumSet.of(SearchEngine.Filter.CHANNEL)).getSearchResult();
}
use of org.schabi.newpipe.extractor.search.SearchEngine in project NewPipe by TeamNewPipe.
the class YoutubeSearchEngineAllTest method setUp.
@Before
public void setUp() throws Exception {
NewPipe.init(Downloader.getInstance());
SearchEngine engine = NewPipe.getService("Youtube").getSearchEngineInstance();
result = engine.search("asdf", 0, "de", EnumSet.of(SearchEngine.Filter.CHANNEL, SearchEngine.Filter.STREAM)).getSearchResult();
}
use of org.schabi.newpipe.extractor.search.SearchEngine in project NewPipe by TeamNewPipe.
the class YoutubeSearchEngineStreamTest method setUp.
@Before
public void setUp() throws Exception {
NewPipe.init(Downloader.getInstance());
SearchEngine engine = NewPipe.getService("Youtube").getSearchEngineInstance();
result = engine.search("this is something boring", 0, "de", EnumSet.of(SearchEngine.Filter.STREAM)).getSearchResult();
}
Aggregations