NewPipeExtractor/extractor/src/main/java/org/schabi/newpipe/extractor
TiA4f8R 67288a0191
[YouTube] Fix extraction of embeddable age-restricted videos, fix extraction of contents with warnings and more
Use the TV embedded client technique to get streams of embeddable age-restricted videos.

This client doesn't provide the playerMicroFormatRenderer object in the player response, but it is still returned on the WEB player response, even for unavailable (but non-private) contents, so we need now to store it, as we are replacing the player response from the WEB client by the TV embedded one.
Otherwise, some metadata such as the unlisted property, category, the uploadDate and the publishDate properties.

The outdated code for these contents has been removed.

Add the racyCheckOk and contentCheckOk to player and next requests to the InnerTube API.
The first doesn't seem to make any difference when used anonymously, but the second one is needed to get streams of contents with a warning before they can be played.

Also apply some requested changes, fixes and improvements in YoutubeParsingHelper and YoutubeStreamExtractor.
2022-04-02 19:06:36 +02:00
..
channel Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
comments Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
downloader Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
exceptions Add AccountTerminatedException for better error handling of terminated channels 2021-05-01 17:50:19 +02:00
feed Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
kiosk Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
linkhandler Fixed new checkstyle problems from dev 2022-03-26 19:46:10 +01:00
localization Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
playlist Fixed new checkstyle problems from dev 2022-03-26 19:46:10 +01:00
search Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
services [YouTube] Fix extraction of embeddable age-restricted videos, fix extraction of contents with warnings and more 2022-04-02 19:06:36 +02:00
stream Legitimately suppress remaining checkstyle warnings 2022-03-26 19:43:08 +01:00
subscription Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
suggestion Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
utils Deduplicate code of getStringResultFromRegexArray methods in Utils 2022-04-02 18:40:00 +02:00
Collector.java Created gradle module and moved existing code to new one 2018-03-14 00:44:02 -03:00
Extractor.java Restored original naming 2022-03-26 19:43:09 +01:00
Info.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
InfoItem.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
InfoItemExtractor.java Created gradle module and moved existing code to new one 2018-03-14 00:44:02 -03:00
InfoItemsCollector.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
ListExtractor.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
ListInfo.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
MediaFormat.java Legitimately suppress remaining checkstyle warnings 2022-03-26 19:43:08 +01:00
MetaInfo.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
MultiInfoItemsCollector.java Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
NewPipe.java Minimized some code 2022-03-26 20:51:37 +01:00
Page.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
ServiceList.java Legitimately suppress remaining checkstyle warnings 2022-03-26 19:43:08 +01:00
StreamingService.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00