Skip to content

Commit

Permalink
Merge pull request #554 from B0pol/test-verified
Browse files Browse the repository at this point in the history
use DownloaderFactory instead of DownloaderTestImpl for search Channe…
  • Loading branch information
B0pol authored Feb 20, 2021
2 parents 27a20e4 + 0c831af commit a9aa385
Show file tree
Hide file tree
Showing 5 changed files with 1,499 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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit a9aa385

Please sign in to comment.