Commit Graph

1810 Commits

Author SHA1 Message Date
ThetaDev 2adc2caebc fix: use assertTabs method, rename channelTab mock folder 2023-05-07 21:06:06 +02:00
ThetaDev d868746e50 Merge branch 'dev' of github.com:TeamNewPipe/NewPipeExtractor into channel-tabs 2023-05-01 17:56:52 +02:00
ThetaDev a3f6a7e68c tests: add @override to YT channel/tab tests 2023-05-01 17:43:59 +02:00
ThetaDev 0583515532 tests: separate channel/tab tests for Peertube, Bandcamp, Soundcloud
fix: Bandcamp channel link handler factory
2023-05-01 17:38:03 +02:00
AudricV 945165a3c0
[PeerTube] Don't return "No description" when there is no description for a channel or an account
When a description is missing, no description should be returned, even the ones
indicating there is no description. This behavior is represented by a null
return instead.

Also update PeertubeAccountExtractorTest to reflect these changes.
2023-04-30 18:41:38 +02:00
ThetaDev 0e28f2b560 tests: add tests for channel tab urls 2023-04-27 12:31:39 +02:00
ThetaDev 417b79757f Merge branch 'dev' of github.com:TeamNewPipe/NewPipeExtractor into channel-tabs 2023-04-27 11:56:50 +02:00
ThetaDev d47d0f982e fix: add Bandcamp URL suffixes 2023-04-27 11:47:19 +02:00
Stypox 6a38811af8
[Bandcamp] Use same url for tracks and albums channel tabs 2023-04-25 15:43:47 +02:00
Stypox 2deb023da4
Merge pull request #1050 from Theta-Dev/fix/channel-carousel-header
[YouTube] Add support for CarouselHeaderRenderer
2023-04-25 15:17:31 +02:00
ThetaDev 4aada7f91b refactor: rename carousel header channel test 2023-04-21 22:48:37 +02:00
ThetaDev 0c5fdaca7e fix: remove overridden getId function in PeertubeAccountExtractor 2023-04-18 21:21:15 +02:00
ThetaDev 47aa9fed40 fix: set musicClientVersion regex capture group 2023-04-16 19:25:05 +02:00
ThetaDev 20370395c5 fix: add support for CarouselHeaderRenderer 2023-04-16 17:40:13 +02:00
ThetaDev 2ad496fc2b refactor: merge YoutubeChannelTabExtractor and YoutubeChannelVideosTabExtractor 2023-04-16 15:54:00 +02:00
ThetaDev 6b627f822e feat: fetch YT Shorts using internal playlist 2023-04-16 15:46:35 +02:00
ThetaDev 308fc434fe fix: make ChannelTabExtractorBuilder serializable 2023-04-16 15:32:15 +02:00
ThetaDev 6e0ffafd06 fix: Peertube channel tab extractor fetching global feed 2023-04-15 19:08:52 +02:00
Stypox bad12385c8
Fix PeerTube channel tabs content filters 2023-04-14 19:51:29 +02:00
Stypox 294ffab490
Add documentation for ReadyChannelTabLLH 2023-04-14 16:51:17 +02:00
ThetaDev 12ca6a22cf fix tests 2023-04-14 14:10:26 +02:00
Stypox c3651bef5c
Channels are now an Info
The previous "main" tab is now just a normal tab returned in getTabs().
This is a breaking change.
2023-04-14 00:56:29 +02:00
Stypox 7dba6e3891
Merge pull request #1033 from petlyh/bandcamp-paywalled-content
[Bandcamp] Handle paywalled tracks
2023-04-12 13:04:26 +02:00
ThetaDev e278a2d6d4 refactor: use streams instead of for loops
fix: extract more than 1 bandcamp album
2023-04-05 21:36:04 +02:00
ThetaDev 750f1585a5 add comment to clarify channel tab param 2023-04-05 20:20:03 +02:00
ThetaDev e57d43f92d Merge branch 'dev' of github.com:TeamNewPipe/NewPipeExtractor into channel-tabs 2023-04-05 14:52:18 +02:00
petlyh e6aad117e7
[Bandcamp] Throw PaidContentException on paywalled albums 2023-04-03 19:27:09 +02:00
fynngodau 69705138e4
[Bandcamp] Fix extraction of related playlist items URL (#1047)
Small change in HTML structure
2023-04-02 22:24:29 +02:00
Björn Sigurbergsson 1b6fe5edd6
[YouTube] Fix ParsingException when comments are unavailable in a video (#1040)
Co-authored-by: bjs <bjs@elect-it.com>
Co-authored-by: Audric V. <74829229+AudricV@users.noreply.github.com>
Co-authored-by: Kavin <20838718+FireMasterK@users.noreply.github.com>
2023-03-30 19:58:06 +02:00
ThetaDev f306db0178 refactor: move YT channel utils to YouTubeChannelHelper 2023-03-30 13:23:44 +02:00
ThetaDev 97d7ee5663 Merge branch 'dev' of github.com:Theta-Dev/NewPipeExtractor into channel-tabs 2023-03-30 13:08:12 +02:00
ThetaDev 8d1303e18f
Add track types to audio streams (#1041) 2023-03-28 00:02:20 +02:00
ThetaDev c6ee2f3ff7 fix: add checkIfChannelResponseIsValid method 2023-03-22 01:27:55 +01:00
ThetaDev 8cd6439d19 fix: YT shorts view count parsing (2) 2023-03-22 01:07:58 +01:00
ThetaDev 8ecee8737c fix: channel extractor tests, docs 2023-03-22 01:00:05 +01:00
ThetaDev 76052de72a fix: YT shorts view count parsing 2023-03-21 23:43:34 +01:00
ThetaDev 5b63a3e3a8 tests: update mocks, remove special cases for a/b test 2023-03-21 01:00:35 +01:00
ThetaDev 9cebcf7ab6 Merge branch 'dev' of github.com:TeamNewPipe/NewPipeExtractor into channel-tabs 2023-03-21 00:45:53 +01:00
AudricV 80a6fc2c63
[PeerTube] Fix testGetCommentsFromCommentsInfo test of PeertubeCommentsExtractorTest.Default
The tested comment has been removed, so it couldn't be found in the comments
list.

This comment has been replaced by a new one from the current comments of the
video.

Also, in the parent class PeertubeCommentsExtractorTest, final has been used as
much as possible and for-each loops of lists have been replaced by their
forEach method or the Stream API, in order to simplify code.
2023-03-04 16:49:10 +01:00
petlyh 5a9b6ed2e3
[Bandcamp] Support loading additional comments (#1030) 2023-03-04 14:01:06 +01:00
Stypox 6bdd698c25
Merge pull request #1026 from AudricV/audio-streams-descriptive-and-locale-properties
Add descriptive and locale properties to audio streams
2023-03-01 11:15:46 +01:00
Stypox 19e4b216c9
Merge pull request #1032 from AudricV/yt_fix-comments-hashtags-links-extraction
[YouTube] Fix hashtags links extraction and escape HTML links
2023-03-01 10:47:37 +01:00
Stypox b1298490c0
Merge pull request #1029 from AudricV/yt_fix-no-views-extraction-playlist-items
[YouTube] Fix partial non-extraction of "No views" string in stream items
2023-03-01 10:46:52 +01:00
petlyh 9dc1832733
[Bandcamp] Handle paywalled tracks 2023-02-28 17:51:30 +01:00
fynngodau 3fdb6ee476
Merge pull request #1031 from petlyh/bandcamp-fix-radio-comments
[Bandcamp] Show comments as disabled on radio streams
2023-02-27 20:50:12 +01:00
AudricV bd79b921e8
[YouTube] Refactor the code to get stream items' view count
This refactoring avoids code duplication as much as possible.
2023-02-27 10:25:46 +01:00
AudricV 51f9b39953
[YouTube] Fix partial non-extraction of no views string in stream items
As the "No views" string is returned in the case there is no view on a video, a
number cannot be parsed in this case, so -1 was returned.

This string is now detected in all methods to get the view count of a stream.
2023-02-27 10:18:45 +01:00
AudricV 95b3f5e391
[MediaCCC] Test audio language property extraction 2023-02-26 19:06:18 +01:00
AudricV 30a0f8c510
[MediaCCC] Extract audio language property for single language audio tracks 2023-02-26 19:06:18 +01:00
AudricV 7f0269c4c7
[YouTube] Edit YoutubeStreamExtractorDefaultTest.AudioTrackLanguage to test audio locale property
The Hindi audio track language presence test has been changed from audio track
label to audio locale.
2023-02-26 19:06:18 +01:00