Skip to content

Commit

Permalink
use DownloaderFactory instead of DownloaderTestImpl for search Channe…
Browse files Browse the repository at this point in the history
…lVerified
  • Loading branch information
B0pol committed Feb 20, 2021
1 parent 27a20e4 commit 33effe0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ public static class ChannelVerified extends DefaultSearchExtractorTest {

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

0 comments on commit 33effe0

Please sign in to comment.