Commit graph

990 commits

Author SHA1 Message Date
5760366d70 use JsonObject#isEmpty instead of JsonObject#equals(JsonUtils.EMPTY_OBJECT) 2020-05-07 15:40:41 +02:00
93e868634e clarified javadoc for isCorrectedSearch and getSearchSuggestions in SearchExtractor 2020-05-07 15:40:41 +02:00
3757541a9c adapt new nanojson version 2020-05-07 15:40:41 +02:00
79483a6dc0 «Use this in SearchInfo, for consistency's sake» @Stypox order xD 2020-05-07 15:40:41 +02:00
e8d58e09c9 getSearchSuggestion now returns the corrected query if isCorrectedSearch() is true 2020-05-07 15:40:41 +02:00
5d1c3b3fa2 Use setters in SearchInfo 2020-05-07 15:39:57 +02:00
29b639b454 Search: add isCorrectedSearch() and fix YoutubeSearchExtractor#getSearchSuggestion()
isCorrectedSearch: see the javadoc
getSearchSuggestion: in YoutubeSearchExtractor, it was giving the corrected search query. It now gives the suggested query, as it should
2020-05-07 15:39:57 +02:00
wb9688
665c69b530
Merge pull request #310 from B0pol/soundcloudComments
Add support for soundcloud comments
2020-05-07 15:35:57 +02:00
Stypox
a02bfbeae5
[YouTube] Support stream urls in vnd.youtube://ID form 2020-05-07 15:31:31 +02:00
bc13e0c616 Merge remote-tracking branch 'upstream/dev' into soundcloudComments 2020-05-05 14:49:21 +02:00
TobiGr
4086715a68 Merge branch 'dev' 2020-05-03 21:21:30 +02:00
TobiGr
8a79b14077 Update extractor version to 0.19.4 2020-05-03 15:11:20 +02:00
Tobias Groza
fc3a69ed54
Merge pull request #323 from wb9688/fix-yt-music-albums
Fix NPE in defaultAlertsCheck()
2020-05-03 14:08:47 +02:00
wb9688
6aae99f832 Fix NPE in defaultAlertsCheck() 2020-05-03 10:28:45 +02:00
Tobias Groza
2780e716b3
Merge pull request #321 from wb9688/fix-nanojson
Return null instead of "" in getTextFromObject()
2020-05-02 15:56:28 +02:00
wb9688
a1eabc7589 Return null instead of "" in getTextFromObject() 2020-05-02 08:02:25 +02:00
Tobias Groza
49157fcf0d
Merge pull request #317 from wb9688/tnp-nanojson
Use our fork of nanojson
2020-04-24 21:54:35 +02:00
2564bcf399 refactor comments
rename methods in CommentsInfoItemExtractor interface to match the other method names across NewPipeExtractor
remove getName in (Youtube|SoundCloud|Peertube)CommentsExtractor and move it up in CommentsExtractor, return "Comments" instead
2020-04-21 20:05:54 +02:00
wb9688
b51699a20e Implement @TobiGr's suggestions 2020-04-20 14:27:33 +02:00
wb9688
74f0ab1792
Merge pull request #301 from wb9688/media-ccc-non-api-urls
Use media.ccc.de instead of api.media.ccc.de
2020-04-19 17:06:57 +02:00
0cbbc2a1f9 remove unused import 2020-04-19 14:16:38 +02:00
wb9688
979c5a7502 Use our fork of nanojson 2020-04-17 19:36:42 +02:00
d4352f9b84 support comments for SoundCloud 2020-04-10 20:41:41 +02:00
wb9688
1b522304c1
Merge pull request #308 from Royosef/PeerTubeChannelExtractor
[PeerTube] channels support
2020-04-10 19:07:51 +02:00
Roy Yosef
4afe657f6f Add tests for getUrlFromId and test for video-channels in acceptUrlTest 2020-04-10 19:05:38 +03:00
Roy Yosef
2c9f1260eb Fix wb9688 review comments
* Rename PeertubeUserExtractor to PeertubeAccountExtractor
* Add test for video-channels in PeertubeChannelLinkHandlerFactoryTest
* Compatibility support for older versions (use "accounts/" as default)
2020-04-10 16:40:53 +03:00
636c430743 refactor: create extractors and linkHandler packages for SoundCloud, move YoutubeParsingHelper to youtube package (not linkhandler anymore) 2020-04-10 10:51:05 +02:00
Roy Yosef
b6e6f403a8 add support for PeerTube channels extraction 2020-04-09 20:37:49 +03:00
wb9688
a5155fb562
Merge pull request #300 from B0pol/hls_opus_not_supported
throw ContentNotSupportedException when content is known to be unsuppo…
2020-04-08 19:54:16 +02:00
a20d53dd98 remove the mention of Opus on wb9688 advise when
ContentNotSupportedException is thrown
2020-04-08 15:31:11 +02:00
9a7c6b7ab0 use ContentNotSupportedException for channels without tabs 2020-04-07 14:33:43 +02:00
a22104cbda add tests for ContentNotSupportedException 2020-04-07 14:33:43 +02:00
093762e793 throw ContentNotSupportedException when content is know to be unsupported 2020-04-07 14:33:43 +02:00
Tobias Groza
094b87c537
Merge pull request #299 from B0pol/sc_countries
add supported countries for soundcloud
2020-04-03 19:12:33 +02:00
Tobias Groza
a7d3d14910
Add link to JDoc to readme 2020-04-03 18:14:14 +02:00
Tobias Groza
e3263666bd
Merge pull request #303 from opusforlife2/correct-template
Corrected the pull request template
2020-04-03 17:56:02 +02:00
Tobias Groza
b81e22ddc9
Merge pull request #291 from wb9688/yt-music-search
Add support for YouTube Music search
2020-04-03 17:55:34 +02:00
wb9688
bce27a0e22 Rename getValidResponseBody() to getValidJsonResponseBody() 2020-04-03 17:23:18 +02:00
opusforlife2
4a1d8c804c
Corrected the pull request template
It was a bit weird before.
2020-04-02 10:42:54 +00:00
1eb3deb7fd add supported countries for soundcloud 2020-04-02 11:26:19 +02:00
Tobias Groza
cef7c96d7d
Merge pull request #302 from wb9688/readme-local-build
Add another way to test changes locally to README.md
2020-04-01 19:23:04 +02:00
wb9688
8a9e137385 Extract some code to getValidResponseBody() 2020-04-01 16:01:21 +02:00
wb9688
2d0c301440 Add another way to test changes locally to README.md 2020-04-01 15:43:11 +02:00
wb9688
bf24caa5f2 Use media.ccc.de instead of api.media.ccc.de 2020-04-01 13:25:10 +02:00
wb9688
2af610e3e7 Add tests for other YT Music search types 2020-04-01 10:30:51 +02:00
wb9688
c7f7bd2442 Fix error when YT Music videos has no uploader URL 2020-04-01 10:30:51 +02:00
wb9688
ac15df4548 Move YouTube Music search to its own class 2020-04-01 10:30:51 +02:00
wb9688
cf0f2aff3e Extract uploader url from certain YouTube Music videos 2020-04-01 10:30:51 +02:00
wb9688
aa8cea47f3 Refactor YouTube Music search tests 2020-04-01 10:30:51 +02:00
wb9688
dd434cca01 Fix issue when there is no didYouMeanRenderer in itemSectionRenderer 2020-04-01 10:30:51 +02:00