Isira Seneviratne
24c63a7781
Merge ed02dd8bc0
into 67f3301d9f
2025-04-10 13:08:55 +02:00
Stypox
67f3301d9f
Merge pull request #1288 from thigg/dev
...
Remove usage of reflection in timeago-parser module
2025-04-08 23:34:24 +02:00
Stypox
0d82596f7a
getPattern final parameter
2025-04-08 23:25:54 +02:00
Stypox
1ec7d419a2
Use org.schabi.newpipe.timeago_generator as package name
2025-04-08 23:23:48 +02:00
thigg
e515252bb9
removed obsolete proguard rules
2025-03-29 19:10:01 +01:00
Thilo Kogge
18572da79d
removed use of reflection in PatternsManager.java. For this the Code to generate the Localization files was extracted into its own submodule.
...
The generator now also creates a class that Holds a Map of all Localizations for the timeago-parser.
2025-03-27 19:39:33 +01:00
Isira Seneviratne
ed02dd8bc0
Extract stream duration as a Java 8 Duration
2025-03-19 08:03:19 +05:30
Tobi
0b99100dbd
Merge pull request #1282 from TeamNewPipe/dependabot/gradle/org.jsoup-jsoup-1.19.1
...
Bump org.jsoup:jsoup from 1.18.3 to 1.19.1
2025-03-16 21:40:31 +01:00
dependabot[bot]
4f94950feb
Bump org.jsoup:jsoup from 1.18.3 to 1.19.1
...
Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup ) from 1.18.3 to 1.19.1.
- [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.18.3...jsoup-1.19.1 )
---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-16 20:36:54 +00:00
Tobi
ab9231c340
Merge pull request #1281 from TeamNewPipe/dependabot/gradle/org.junit-junit-bom-5.12.0
...
Bump org.junit:junit-bom from 5.11.4 to 5.12.1
2025-03-15 17:10:31 +01:00
TobiGr
de4e27d055
Fix tests execution
...
See https://github.com/gradle/gradle/issues/32534#issuecomment-2678767645
2025-03-15 17:05:56 +01:00
dependabot[bot]
50b8c6ff9f
Bump org.junit:junit-bom from 5.11.4 to 5.12.0
...
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5 ) from 5.11.4 to 5.12.0.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.4...r5.12.0 )
---
updated-dependencies:
- dependency-name: org.junit:junit-bom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-15 15:45:35 +00:00
litetex
d57a206344
Merge pull request #1065 from Isira-Seneviratne/Java_Files
...
Use Files methods in tests
2025-03-05 17:34:01 +01:00
litetex
d718f50e34
Fix compilation + Cleanup
2025-03-05 17:29:33 +01:00
Isira Seneviratne
4f16112d6d
Use Files methods in tests.
2025-03-05 17:23:45 +01:00
litetex
6bf0110e38
Merge pull request #1256 from TeamNewPipe/dependabot/gradle/org.mozilla-rhino-1.8.0
...
Bump org.mozilla:rhino from 1.7.15 to 1.8.0
2025-03-05 17:05:18 +01:00
litetex
da1e0e72b0
Consolidate Rhino Version
2025-03-05 16:20:50 +01:00
litetex
0c3ac0a308
Rework TokenStream
2025-03-05 16:07:05 +01:00
litetex
77ee25e3b6
Fix typo
2025-03-05 15:55:46 +01:00
litetex
907fc2ac52
Fix compile problems and optimize TokenStream
2025-03-05 15:45:08 +01:00
litetex
bcf24def8b
Cleanup test
2025-03-05 15:44:57 +01:00
litetex
470a719861
Fix compile problems in JavaScript class
2025-03-05 15:44:46 +01:00
litetex
b376539062
Also use rhino engine
2025-03-05 15:44:33 +01:00
litetex
2d3342bf56
Improve tests
2025-03-05 15:44:25 +01:00
litetex
aa67363553
Merge pull request #1245 from TeamNewPipe/dependabot/gradle/org.jsoup-jsoup-1.18.3
...
Bump org.jsoup:jsoup from 1.17.2 to 1.18.3
2025-02-17 22:13:46 +01:00
dependabot[bot]
7b5d41a741
Bump org.mozilla:rhino from 1.7.15 to 1.8.0
...
Bumps [org.mozilla:rhino](https://github.com/mozilla/rhino ) from 1.7.15 to 1.8.0.
- [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-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 21:11:54 +00:00
litetex
c4056f5d5c
Fix tests
...
Upstream changes are described here: https://github.com/jhy/jsoup/issues/1278
They are effectively irrelevant as YT removes the ``"``/attributes anyway.
2025-02-17 22:09:44 +01:00
dependabot[bot]
7e21002838
Bump org.jsoup:jsoup from 1.17.2 to 1.18.3
...
Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup ) from 1.17.2 to 1.18.3.
- [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.17.2...jsoup-1.18.3 )
---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 21:06:55 +00:00
litetex
5a786ebd41
Merge pull request #1266 from Stypox/update-gradle
...
Update gradle wrapper
2025-02-16 22:40:23 +01:00
litetex
d44b520a90
Improve github workflow
...
* Cache gradle wrapper distributions
* Don't always show gradle welcome message
* Deduplicated code
* Make it possible to select downloader and manually execute a run
2025-02-16 22:36:00 +01:00
Stypox
b0cc9d47ce
Update gradle-wrapper to 8.12.1
2025-02-16 21:56:00 +01:00
Stypox
b1ecb6882f
Merge pull request #1277 from litetex/fix-tests
...
Fix tests and cleanup other stuff
2025-02-15 15:23:27 +01:00
Stypox
e506ad3212
Merge pull request #1279 from litetex/replace-spotbugs-with-jsr305
...
Only include ``jsr305`` and not complete spotbugs
2025-02-15 15:06:59 +01:00
litetex
e4081243e7
Improve documentation
...
> > I think you can use YoutubeParsingHelper.getTextFromObject()
> That was used there before however I did not choose to use it again.
>
> ``runs`` returns an array with 3 items containing:
> 0: ``<artistname>``
> 1: ``•``
> 2: ``<subscriberCount>``
>
> There is 2 problems with that:
> 1. It's inefficient for extracting the subscription count
> 2. If for some reason the artist now has a name like "2k" the extraction malfunctions
See also: https://github.com/TeamNewPipe/NewPipeExtractor/pull/1277#discussion_r1955148742
2025-02-15 15:02:30 +01:00
litetex
677c048f1b
Only include ``jsr305`` and not complete spotbugs
...
Only ``javax.annotation.Nonull`` or ``javax.annotation.Nullable`` are currently in used which means that spotbugs can and should be removed.
See https://github.com/TeamNewPipe/NewPipeExtractor/issues/1278 for details
2025-02-15 14:23:33 +01:00
litetex
3ad9f17c53
Revert potentially breaking change
...
I expected this class to be located in ``youtube`` as it mostly contains YT specific playlist types, but this assumption was wrong.
See also: d9caa90d23 (r1955161108)
2025-02-13 21:24:05 +01:00
litetex
d9caa90d23
Fix okhttp deprecation
2025-02-12 22:29:06 +01:00
litetex
4c3918ac4c
Removed unused code
2025-02-12 22:09:03 +01:00
litetex
2f2e2df5aa
Add recorded mock data
2025-02-12 22:01:17 +01:00
litetex
daac243fc4
Use camelCase
2025-02-12 22:00:54 +01:00
litetex
69d5bf2a89
YouTube 100% Mock coverage
2025-02-12 21:56:02 +01:00
litetex
3b34b82e0f
Downloader: Don't force IOException
...
Use ``UncheckedIOException`` instead
This no longer forces one to always write ``throws IOException`` in tests
2025-02-12 21:46:45 +01:00
litetex
177262485a
Make all YT tests in MOCK mode use mock data
2025-02-11 22:19:53 +01:00
litetex
cf5df3fcff
Improve rate limiting
...
* Bandcamp also has rate-limiting (but a lot more req are allowed than with YT)
* Shorten default warm up time
* Fix typo
2025-02-11 21:50:38 +01:00
litetex
287123b0fd
Add rate limiter with default cold factor
2025-02-11 21:49:48 +01:00
litetex
4d7df1486c
Fix YT artist getSubscriberCount extraction
2025-02-11 21:35:19 +01:00
litetex
25e4a6f3cf
YT: Suggestion test is working again
2025-02-11 21:24:39 +01:00
litetex
ee6bc846ce
Re-Enable test as it's no longer broken
2025-02-11 21:17:46 +01:00
litetex
fa99003077
Fix duplicated ;
2025-02-11 21:16:49 +01:00
litetex
1966ad1e52
Use new Bandcamp autocomplete api
2025-02-11 21:16:30 +01:00