1
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-10-06 00:23:15 +02:00
Commit Graph

2953 Commits

Author SHA1 Message Date
dependabot[bot]
1dbb5c8d04 Bump com.puppycrawl.tools:checkstyle from 10.4 to 10.26.1
Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.4 to 10.26.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.4...checkstyle-10.26.1)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-version: 10.26.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-02 09:32:44 +00:00
Tobi
25a57ae0f0 Merge pull request #1379 from TeamNewPipe/dependabot/gradle/org.junit-junit-bom-5.14.0
Bump org.junit:junit-bom from 5.13.4 to 5.14.0
2025-10-02 02:31:44 -07:00
dependabot[bot]
749e7ee317 Bump org.junit:junit-bom from 5.13.4 to 5.14.0
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit-framework) from 5.13.4 to 5.14.0.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.4...r5.14.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-version: 5.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-02 09:02:03 +00:00
Tobi
b469dcacf0 Merge pull request #1373 from TeamNewPipe/dependabot/gradle/protobufVersion-4.32.1
Bump protobufVersion from 4.32.0 to 4.32.1
2025-09-12 04:40:38 -07:00
dependabot[bot]
21b254fa94 Bump protobufVersion from 4.32.0 to 4.32.1
Bumps `protobufVersion` from 4.32.0 to 4.32.1.

Updates `com.google.protobuf:protobuf-javalite` from 4.32.0 to 4.32.1

Updates `com.google.protobuf:protoc` from 4.32.0 to 4.32.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.32.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.protobuf:protoc
  dependency-version: 4.32.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-12 09:02:24 +00:00
Tobi
de8219f2a3 Merge pull request #1371 from TeamNewPipe/dependabot/gradle/com.google.code.gson-gson-2.13.2
Bump com.google.code.gson:gson from 2.13.1 to 2.13.2
2025-09-11 02:29:09 -07:00
dependabot[bot]
202dc99656 Bump com.google.code.gson:gson from 2.13.1 to 2.13.2
Bumps [com.google.code.gson:gson](https://github.com/google/gson) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.13.1...gson-parent-2.13.2)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-version: 2.13.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 09:02:31 +00:00
Tobi
5b4feb96c4 Merge pull request #1365 from TeamNewPipe/dependabot/github_actions/actions/setup-java-5
Bump actions/setup-java from 4 to 5
2025-08-31 06:35:33 -07:00
dependabot[bot]
80ddc3fb0c Bump actions/setup-java from 4 to 5
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-31 13:33:57 +00:00
Tobi
9d4acee400 Merge pull request #1363 from TeamNewPipe/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-08-31 06:33:02 -07:00
Tobi
0023b22095 Merge pull request #1352 from Stypox/yt-confirm-not-bot
[YouTube] Add custom error for "Sign in to confirm ..."
2025-08-28 10:20:25 -07:00
Tobi
555ed856f5 Merge pull request #1364 from TeamNewPipe/dependabot/gradle/protobufVersion-4.32.0
Bump protobufVersion from 4.31.1 to 4.32.0
2025-08-28 10:02:54 -07:00
Stypox
b8bd4cda8c [YouTube] Add custom error for "Sign in to confirm ..." 2025-08-28 16:56:39 +02:00
dependabot[bot]
a7f263f4dd Bump protobufVersion from 4.31.1 to 4.32.0
Bumps `protobufVersion` from 4.31.1 to 4.32.0.

Updates `com.google.protobuf:protobuf-javalite` from 4.31.1 to 4.32.0

Updates `com.google.protobuf:protoc` from 4.31.1 to 4.32.0
- [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.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.protobuf:protoc
  dependency-version: 4.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 19:28:45 +00:00
Tobi
a524390e39 Merge pull request #1368 from TeamNewPipe/dependabot/gradle/org.jsoup-jsoup-1.21.2
Bump org.jsoup:jsoup from 1.21.1 to 1.21.2
2025-08-25 09:26:55 -07:00
dependabot[bot]
826188db8c Bump org.jsoup:jsoup from 1.21.1 to 1.21.2
Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.21.1 to 1.21.2.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.21.1...jsoup-1.21.2)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-version: 1.21.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 16:18:30 +00:00
dependabot[bot]
e2284a6258 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 18:08:54 +00:00
wb9688
6f51a23fa5 Merge pull request #1358 from TeamNewPipe/fix-gradle-jdoc
Fix aggregatedJavadocs task and update API link to JDK 11
2025-08-01 11:29:51 +02:00
TobiGr
b5c7d57d63 Fix aggregatedJavadocs task and update API link to JDK 11 2025-08-01 10:14:03 +02:00
Tobi
f668a0bc6a Merge pull request #1356 from TeamNewPipe/fix-jdoc
Fix JDoc and automated doc build
2025-08-01 00:39:38 -07:00
Tobi
8476a463e8 Fix JDoc and automated doc build
See https://github.com/TeamNewPipe/NewPipeExtractor/actions/runs/16660575612/job/47156509194#step:5:43

NewPipeExtractor/NewPipeExtractor/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamInfoItemLockupExtractor.java:29: error: self-closing element not allowed
 * This extractor is currently (2025-07) only used to extract related video streams.<br/>
2025-08-01 07:59:08 +02:00
Stypox
88ff8972e5 Release v0.24.8
v0.24.7 accidentally pointed at v0.24.6 and JitPack had already built so we had to make a new release
v0.24.8
2025-07-31 23:38:02 +02:00
Stypox
d376c94bd5 Release v0.24.7 2025-07-31 23:28:24 +02:00
Stypox
0a7b72aec6 Merge pull request #1354 from AudricV/yt_more_kiosks_and_trending_deprecation 2025-07-31 23:24:13 +02:00
Stypox
426a227047 Merge pull request #1347 from litetex/fix-yt-channel-id-resolution 2025-07-31 22:28:07 +02:00
AudricV
2cccf48d6c Add an UnsupportedContentInCountryException and use it in YouTube Charts
This allows client to distinguish of a generic
ContentNotSupportedException, which hasn't fully its place for its usage
in YouTube Charts.
2025-07-31 21:10:38 +02:00
AudricV
25e30b745a [YouTube] Set running lives as new default kiosk
Also move YoutubeKioskExtractorTest.Trending at the bottom of the file
and add deprecation notice on test class too.
2025-07-31 21:10:38 +02:00
AudricV
5c7abeeab0 [YouTube] Add mocks for new kiosks' tests 2025-07-31 21:10:37 +02:00
AudricV
0687977690 [YouTube] Add tests for new kiosks 2025-07-31 21:00:41 +02:00
AudricV
9f7690823d [YouTube] Move Trending kiosk to kiosk package, add deprecation comment
Trending is still working at the time this commit is made, it has been
just removed from the interface.

Also remove getInstance method of YoutubeTrendingLinkHandlerFactory to
make the INSTANCE static field public, for consistency with other
kiosks of the service.
2025-07-31 21:00:41 +02:00
AudricV
21c3aad320 [YouTube] Add trending music extractor
This kiosk is meant to return official music videos, but it also
returns unofficial content and autogenerated tracks, hence the
kiosk name.

Making requests with an unsupported YouTube Charts country leads to a
400 HTTP error, so for these countries a ContentNotSupportedException
is thrown by the extractor.
2025-07-31 21:00:41 +02:00
AudricV
f4203e632d [YouTube] Add trending movies and shows trailers extractor
This kiosk also returns some videos for unsupported YouTube Charts
countries, even if there are fewer than in a supported country.
2025-07-31 21:00:41 +02:00
AudricV
e643024ff0 [YouTube] Add base class to parse trending videos' charts responses 2025-07-31 21:00:40 +02:00
AudricV
a4aeedff90 [YouTube] Add WEB_MUSIC_ANALYTICS constants, make some methods public
This is the client for YouTube Charts (charts.youtube.com).

Also change nullability of two fields and fix wrong client constant
usage in ofWebEmbeddedPlayerClient method in InnertubeClientRequestInfo.

Usages in YoutubeParsingHelper have been updated, getClientHeaders and
prepareJsonBuilder methods in this class have been made public.
2025-07-31 21:00:40 +02:00
TobiGr
6397b2ec3f Fix missing paranthesis in condition and improve null-safety 2025-07-31 11:19:33 +02:00
litetex
aa70b5a04b Create `YouTubeChannelHelperTest` 2025-07-31 11:19:17 +02:00
litetex
b05347d68d Redirection doesn't always seem to happen
Ref: https://github.com/TeamNewPipe/NewPipeExtractor/pull/1347#issuecomment-3123364807
Co-Authored-By: Audric V. <74829229+AudricV@users.noreply.github.com>
2025-07-31 11:10:33 +02:00
litetex
f91454d24f [YT] Correctly resolve redirects when resolving channel ids 2025-07-31 10:57:11 +02:00
litetex
4701c56e86 [YT] Build correct handle 2025-07-31 10:57:11 +02:00
Tobi
a5fcc7d7aa Merge pull request #1351 from Stypox/fix-ytm-albums-playlists
[YouTube Music] Fix uploader and stream count for album/playlist info items
2025-07-29 06:09:28 -07:00
AudricV
f4b0a7d97e [YouTube] Add trending gaming videos extractor from Gaming system channel 2025-07-28 21:45:54 +02:00
AudricV
a870e3767d [YouTube] Add trending podcasts episodes extractor from Podcasts page 2025-07-28 21:45:54 +02:00
AudricV
d38d64708d [YouTube] Add running lives extractor from Live system channel 2025-07-28 21:45:54 +02:00
AudricV
3d0e302230 [YouTube] Add base class to parse kiosks from WEB InnerTube client
Kiosks structure work in a very similar way to channel tabs, so
YoutubeChannelHelper is used in this abstract class.
2025-07-28 21:45:53 +02:00
Stypox
bd6e5d3fdb Code style 2025-07-28 20:44:40 +02:00
Stypox
03a65516b0 [YouTube Music] Fix uploader and stream count for album/playlist info items
- handles autogenerated albums instead of returning an error for invalid uploader url
- extracts uploader url of playlists too using another method
- getStreamCount() now returns ITEM_COUNT_UNKNOWN because no info is included in the JSON
2025-07-28 17:43:53 +02:00
Stypox
260ba4749a Merge pull request #1350 from Stypox/fix-search-filtered-lockup 2025-07-28 16:09:58 +02:00
Stypox
80e42aa584 [YouTube] Fix search filters messing with which lockup formats are extracted 2025-07-28 15:56:10 +02:00
Stypox
c5337943d6 Merge pull request #1348 from TobiGr/user-agent-140 2025-07-28 14:00:31 +02:00
TobiGr
0378fdee5c Fix checkstyle 2025-07-27 12:34:30 +02:00