2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-30 22:05:18 +00:00

Merge pull request #554 from B0pol/test-verified

use DownloaderFactory instead of DownloaderTestImpl for search Channe…
This commit is contained in:
bopol
2021-02-20 12:12:43 +01:00
committed by GitHub
5 changed files with 1499 additions and 1 deletions

View File

@@ -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();
}