NewPipeExtractor/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube
AudricV a3d160edab
[YouTube] Improve and fix YoutubeJavaScriptExtractor
- Enhance documentation;
- Fix the regular expression fallback on HTML embed watch page;
- Use HTML scripts tag search first instead of the regular expression approach,
now used as a last resort;
- Compile regular expressions only once, in order to improve the performance of
subsequent extraction calls when clearing the cache;
- Provide original exceptions when fetching or parsing pages on which the base
JavaScript's player could be found failed, allowing clients to detect network
errors when they are the cause of the failures for instance;
- Remove delegate method which was not taking a video ID and hardcoding one, as
we can provide the video ID in all cases or do not provide a video ID at worse;
- Rename and make extraction methods package-private, as they are not intended
to be used publicly.

These breaking internal changes have been applied where needed, in
YoutubeJavaScriptExtractorTest and YoutubeStreamExtractor (in which an unneeded
initStsFromPlayerJsIfNeeded call have been removed).
2023-08-02 23:05:08 +02:00
..
dashmanifestcreators Add track types to audio streams (#1041) 2023-03-28 00:02:20 +02:00
extractors [YouTube] Improve and fix YoutubeJavaScriptExtractor 2023-08-02 23:05:08 +02:00
linkHandler [YouTube] Support live URLs and do minor improvements to YoutubeStreamLinkHandlerFactory 2023-01-28 19:36:20 +01:00
DeliveryType.java Solve some review comments 2022-05-28 12:00:57 +02:00
ItagItem.java Add support for AV1 itags. 2023-07-22 13:23:44 +02:00
YoutubeJavaScriptExtractor.java [YouTube] Improve and fix YoutubeJavaScriptExtractor 2023-08-02 23:05:08 +02:00
YoutubeParsingHelper.java fix: set musicClientVersion regex capture group 2023-04-16 19:25:05 +02:00
YoutubeService.java [YouTube] Now music mixes can be treated as normal mixes 2023-01-15 23:28:59 +01:00
YoutubeThrottlingDecrypter.java [YouTube] Support multiple declarations for throttling parameter function name array 2023-06-26 15:25:53 +02:00