2322 Commits

Author SHA1 Message Date
Aayush Gupta
3a7cfe96d8 extractor: Setup signing for CI snapshots
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-03-02 00:54:53 +08:00
G-flat
97083dbe12 Add test for YouTube video with no title 2026-03-01 00:58:34 +11:00
G-flat
04257a0752 Return an empty title string for YouTube videos with no title 2026-02-22 15:18:18 +11:00
Tobi
824486dfdf Merge pull request #1449 from dustdfg/enumset_mediacaps
Use EnumSet instead of List for MediaCapabilities inside Service
2026-02-21 07:53:52 -08:00
tobigr
a5aa7a09a3 Don't specify implementation, just the interface 2026-02-21 16:51:52 +01:00
Tobi
ba70ea780d Merge pull request #1450 from G-flat/fix_soundcloud_track_id_overflow
[SoundCloud] Use long integers (64-bit) for track IDs to prevent overflows
2026-02-20 17:12:30 -08:00
tobigr
df10cc145f Record mocks correctly 2026-02-21 02:09:12 +01:00
Yevhen Babiichuk (DustDFG)
857c181d40 Use EnumSet instead of List for MediaCapabilities inside Service 2026-02-13 10:49:44 +02:00
Yevhen Babiichuk (DustDFG)
023c3dee88 Youtube: throw AccountTerminatedException when account is terminated 2026-02-12 03:31:42 +02:00
G-flat
8a4aab4f4b Add SoundcloudStreamExtractor tests for a small track ID and a track ID larger than 32 bits 2026-02-01 01:01:08 +11:00
G-flat
fe9c57c007 Update mocks to fix failing SoundcloudPlaylistExtractor tests 2026-01-31 12:42:14 +11:00
tobigr
9831bcc5c5 Add more tests for invalid channel URL patterns 2026-01-30 15:46:01 +01:00
G-flat
75a4ccbd78 Add tests for newly supported channel URLs and fix regression 2026-01-30 15:14:30 +01:00
G-flat
345c7f4ec6 Fix checkstyle issue 2026-01-30 15:14:30 +01:00
G-flat
ece968d794 Support more YouTube channels 2026-01-30 15:14:29 +01:00
Stypox
d6e5743a6d [YouTube] Add test and mocks for new meta info format 2026-01-29 16:10:39 +01:00
Stypox
5bc2478738 [YouTube] Support a new type of meta info 2026-01-29 16:09:37 +01:00
G-flat
5d3eaca141 Use 64-bit SoundCloud track IDs 2026-01-28 14:41:43 +11:00
Stypox
4a729a7c7e [YouTube] Update some mocks 2026-01-27 19:32:57 +01:00
Stypox
dee84c3ed0 [YouTube] Fix/ignore failing tests after YouTube fully removed Trending 2026-01-27 19:32:57 +01:00
Stypox
b6ed15a756 [YouTube] Fix test for non existent streams
Now YouTube returns just "{}" without any better explanation, so ParsingException is thrown by the extractor. Now users won't get told that the video they are trying to watch does not exist at all, but since YouTube literally provides an empty JSON response we have no way to detect if the video does not exist or if there is some other bug in the way we make requests that causes an empty response.
2026-01-27 19:32:57 +01:00
Stypox
c8c9af16a8 [YouTube] Fix mm:ss timestamps being replaced with text in descriptions 2026-01-27 19:32:57 +01:00
Stypox
8a415cadfd [YouTube] Fix n-sig parsing for player c9168c90 2026-01-27 19:32:57 +01:00
Stypox
92e0250582 [YouTube] Replace now-unavailable video IDs used in tests 2026-01-27 19:32:57 +01:00
Stypox
cdfcdb3ad5 [YouTube] Update terminated channels tests
One of the tests had to be removed since I could not find a channel which has that message, and according to https://youtube.fandom.com/wiki/Termination#Ban_Messages that message is "deprecated" so maybe it does not exist anymore.
2026-01-27 19:32:57 +01:00
Stypox
400db4336b Throw error if "downloader" test param has invalid value 2026-01-27 19:32:57 +01:00
Stypox
ed48df2a35 [YouTube] Address review comments 2026-01-27 19:31:03 +01:00
AudricV
8133708d22 [YouTube] Update mocks 2026-01-26 19:08:52 +01:00
AudricV
cfa985451e [YouTube] Fix page reload required error on streams
Playability status for the WEB client isn't checked anymore, as it
requires a valid signatureTimestamp from JavaScript player to avoid a
page reload error. Until we can get and use n parameter function
decoding for streaming URLs of HTML5 clients again and support SABR
streams, it doesn't really make sense to fetch a huge JavaScript player
just to get metadata.

Age-restricted content which can be watched with the embedded player is
also broken due to extraction failure and non-ability to run the n
parameter function, so fetching this embedded player has been also
removed and all age-restricted content will throw an
AgeRestrictedContentException.

Playability error status checks have been adapted, as mobile clients get
different error responses than the WEB client.

Some strings have been extracted into constants and a fallback for
unlisted privacy check has been added, in YoutubeStreamExtractor for
both points.
2026-01-24 20:39:37 +01:00
AudricV
b1175a4dbf [YouTube] Update clients versions and remove unused TVHTML5 one 2026-01-24 08:57:43 +01:00
Stypox
a88b50e73d Merge pull request #1422 from TeamNewPipe/depUpdate 2026-01-17 14:27:56 +01:00
tobigr
0695a0982b Add task for aggregated Javadocs again and deploy those 2026-01-11 14:50:19 +01:00
TobiGr
17594aa204 Release version 0.25.0 2026-01-10 20:07:28 +01:00
Yevhen Babiichuk (DustDFG)
a1e5e93871 Fix regression where all ListLinkHandlerFactories of media.ccc.de
were replaces with one

Regression was introduced in 1e8474b22d
2026-01-05 21:48:47 +02:00
Aayush Gupta
8972df0a06 Update checkstyle to latest stable release
Also force it to run with JDK 21

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-12-24 14:42:29 +08:00
Aayush Gupta
1ec28182cb Include timeago-parser classes manually
Adding a module as implementation adds it as a dependency in the published jar's POM file

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-12-24 10:34:57 +08:00
Aayush Gupta
2dc56b6c6e Relocate testing configuration to extractor
Only extractor has actual tests

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-12-20 09:26:23 +01:00
Aayush Gupta
77af12362e Refactor and reconfigure publishing information for extractor
* Add missing information in pom file
* Add a new local maven repo to access the file easily
* Relocate the publishing instructions to extractor module
* Use the existing Gradle task to generate javadoc

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-12-20 09:26:23 +01:00
Aayush Gupta
70b2e80a53 Migrate to Kotlin DSL and build version catalog
* https://docs.gradle.org/current/userguide/kotlin_dsl.html
* https://docs.gradle.org/current/userguide/version_catalogs.html

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-12-20 09:26:21 +01:00
dependabot[bot]
be3270cedc Bump com.google.protobuf from 0.9.5 to 0.9.6
Bumps com.google.protobuf from 0.9.5 to 0.9.6.

---
updated-dependencies:
- dependency-name: com.google.protobuf
  dependency-version: 0.9.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-17 09:01:55 +00:00
FineFindus
f987c1afae [YouTube] Extract shorts thumbnails from thumbnailViewModel
Fixes an issue, where shorts thumbnails where not extracted, as they're now
contained within a `thumbnailViewModel`, instead of a simple `thumbnail`
object.

Closes: https://github.com/TeamNewPipe/NewPipe/issues/12907
2025-12-15 21:51:18 +01:00
dependabot[bot]
f0385f8466 Bump protobufVersion from 4.33.1 to 4.33.2
Bumps `protobufVersion` from 4.33.1 to 4.33.2.

Updates `com.google.protobuf:protobuf-javalite` from 4.33.1 to 4.33.2

Updates `com.google.protobuf:protoc` from 4.33.1 to 4.33.2
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Commits](https://github.com/protocolbuffers/protobuf/commits)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-javalite
  dependency-version: 4.33.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.protobuf:protoc
  dependency-version: 4.33.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 09:02:04 +00:00
dependabot[bot]
a27c82c2b2 Bump rhinoVersion from 1.8.0 to 1.8.1
Bumps `rhinoVersion` from 1.8.0 to 1.8.1.

Updates `org.mozilla:rhino` from 1.8.0 to 1.8.1
- [Release notes](https://github.com/mozilla/rhino/releases)
- [Changelog](https://github.com/mozilla/rhino/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/mozilla/rhino/commits)

Updates `org.mozilla:rhino-engine` from 1.8.0 to 1.8.1
- [Release notes](https://github.com/mozilla/rhino/releases)
- [Changelog](https://github.com/mozilla/rhino/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/mozilla/rhino/commits)

---
updated-dependencies:
- dependency-name: org.mozilla:rhino
  dependency-version: 1.8.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.mozilla:rhino-engine
  dependency-version: 1.8.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-03 09:02:18 +00:00
FineFindus
0617c8834c [YouTube] Extract xtags of formats
Extracts the `xtags` field, which encodes additional data of the format, such
as if the format is using dynamic range compression.
This is required for using SABR.
2025-11-30 11:57:06 +01:00
FineFindus
a431a90025 [YouTube] Extract lastModified format data
Extracts the `lastModified` field of format, which is need for initiating SABR
playback.
2025-11-30 11:57:06 +01:00
FineFindus
f6bfd8ec2e [YouTube] support extracting DRC audio
Implements support for checking whether an extracted audio format is using
dynamic range compression (DRC).

Ref: https://en.wikipedia.org/wiki/Dynamic_range_compression
2025-11-30 11:23:59 +01:00
Tobi
f5676c283b Merge pull request #1405 from TeamNewPipe/dependabot/gradle/com.squareup.okhttp3-okhttp-5.3.2
Bump com.squareup.okhttp3:okhttp from 4.12.0 to 5.3.2
2025-11-28 00:35:41 -08:00
Isira Seneviratne
fdce7bd7ec Fix test 2025-11-26 18:29:23 +05:30
dependabot[bot]
af9d078a9e Bump com.squareup.okhttp3:okhttp from 4.12.0 to 5.3.2
Bumps [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp) from 4.12.0 to 5.3.2.
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.12.0...parent-5.3.2)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
  dependency-version: 5.3.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 09:02:05 +00:00
dependabot[bot]
1c4e4f54bf Bump protobufVersion from 4.33.0 to 4.33.1
Bumps `protobufVersion` from 4.33.0 to 4.33.1.

Updates `com.google.protobuf:protobuf-javalite` from 4.33.0 to 4.33.1

Updates `com.google.protobuf:protoc` from 4.33.0 to 4.33.1
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/commits)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-javalite
  dependency-version: 4.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.protobuf:protoc
  dependency-version: 4.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-14 09:02:17 +00:00