Unverified Commit a9aa385b authored by bopol's avatar bopol Committed by GitHub
Browse files

Merge pull request #554 from B0pol/test-verified

use DownloaderFactory instead of DownloaderTestImpl for search Channe…
parents 27a20e41 0c831afa
......@@ -280,7 +280,8 @@ public class YoutubeSearchExtractorTest {
@BeforeClass
public static void setUp() throws Exception {
NewPipe.init(DownloaderTestImpl.getInstance());
YoutubeParsingHelper.resetClientVersionAndKey();
NewPipe.init(new DownloaderFactory().getDownloader(RESOURCE_PATH + "verified"));
extractor = YouTube.getSearchExtractor(QUERY, singletonList(CHANNELS), "");
extractor.fetchPage();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment