Update the JavaDoc for the rate-limiting issue.
This commit is contained in:
parent
f063dd15ec
commit
e3480ba2ae
|
@ -1079,12 +1079,23 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
||||||
* Checks whether an additional player response is not valid.
|
* Checks whether an additional player response is not valid.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* If YouTube detect that requests come from a third party client, they may replace the real
|
* If YouTube detects that requests come from a third party client, they may replace the real
|
||||||
* player response by another one of a video saying that this content is not available on this
|
* player response by another one of a video saying that this content is not available on this
|
||||||
* app and to watch it on the latest version of YouTube.
|
* app and to watch it on the latest version of YouTube.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
|
* YouTube may also sometimes for currently unknown reasons rate-limit an IP, and replace the real one
|
||||||
|
* by a player response with a video that says that the video is unavailable.
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* This behaviour has been observed in on the {@code ANDROID} and {@code WEB} clients, see
|
||||||
|
* <a href="https://github.com/TeamPiped/Piped/issues/2487">
|
||||||
|
* https://github.com/TeamPiped/Piped/issues/2487</a>.
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
* We can detect this by checking whether the video ID of the player response returned is the
|
* We can detect this by checking whether the video ID of the player response returned is the
|
||||||
* same as the one requested by the extractor.
|
* same as the one requested by the extractor.
|
||||||
* </p>
|
* </p>
|
||||||
|
|
Loading…
Reference in New Issue