-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the youtubei API for YouTube searches + update mocks + ignore a test
Add getSearchParameter, a new method in YoutubeSearchQueryHandlerFactory class which returns the params field for a search, or an empty string if there is no one. Update mocks of YoutubeSearchExtractorTest. Ignore StreamSegmentsTestOstCollection test of YoutubeStreamExtractorDefaultTest because the video is now only available in China.
- Loading branch information
Showing
50 changed files
with
4,422 additions
and
4,746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 4 additions & 17 deletions
21
...i/newpipe/extractor/services/youtube/extractor/channel/localization/generated_mock_0.json
Large diffs are not rendered by default.
Oops, something went wrong.
36 changes: 4 additions & 32 deletions
36
...i/newpipe/extractor/services/youtube/extractor/channel/localization/generated_mock_1.json
Large diffs are not rendered by default.
Oops, something went wrong.
22 changes: 4 additions & 18 deletions
22
...i/newpipe/extractor/services/youtube/extractor/channel/localization/generated_mock_2.json
Large diffs are not rendered by default.
Oops, something went wrong.
34 changes: 4 additions & 30 deletions
34
...i/newpipe/extractor/services/youtube/extractor/channel/localization/generated_mock_3.json
Large diffs are not rendered by default.
Oops, something went wrong.
34 changes: 4 additions & 30 deletions
34
...i/newpipe/extractor/services/youtube/extractor/channel/localization/generated_mock_4.json
Large diffs are not rendered by default.
Oops, something went wrong.
34 changes: 4 additions & 30 deletions
34
...i/newpipe/extractor/services/youtube/extractor/channel/localization/generated_mock_5.json
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
...i/newpipe/extractor/services/youtube/extractor/channel/localization/generated_mock_6.json
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
.../org/schabi/newpipe/extractor/services/youtube/extractor/search/all/generated_mock_0.json
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 7 additions & 22 deletions
29
.../org/schabi/newpipe/extractor/services/youtube/extractor/search/all/generated_mock_1.json
Large diffs are not rendered by default.
Oops, something went wrong.
125 changes: 108 additions & 17 deletions
125
.../org/schabi/newpipe/extractor/services/youtube/extractor/search/all/generated_mock_2.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.