Difference between revisions of "Plays.tv"

From Archiveteam
Jump to navigation Jump to search
(Add more API information)
Line 28: Line 28:
* User feed: <code><nowiki>https://plays.tv/playsapi/feedsys/v1/userfeed/$USERNAME_OR_USERID/uploaded?limit=[10]&filter=[video|image]</nowiki></code> (parameters are optional, limit defaults to 10, filter defaults to a blank string (none)) This endpoint contains metadata (including a download URL) for each video.
* User feed: <code><nowiki>https://plays.tv/playsapi/feedsys/v1/userfeed/$USERNAME_OR_USERID/uploaded?limit=[10]&filter=[video|image]</nowiki></code> (parameters are optional, limit defaults to 10, filter defaults to a blank string (none)) This endpoint contains metadata (including a download URL) for each video.
* User profile: <code><nowiki>https://plays.tv/ws/orbital/profile/$USERID?_orbitalapp=1</nowiki></code> (the orbitalapp parameter doesn't seem to do anything). Requires the user id, and won't return anything for usernames. It also lists 12 of the user's videos (with urls to video thumbnails but not the video files themselves), and the usernames, profile images, and ids of followers, following, and friend suggestions.
* User profile: <code><nowiki>https://plays.tv/ws/orbital/profile/$USERID?_orbitalapp=1</nowiki></code> (the orbitalapp parameter doesn't seem to do anything). Requires the user id, and won't return anything for usernames. It also lists 12 of the user's videos (with urls to video thumbnails but not the video files themselves), and the usernames, profile images, and ids of followers, following, and friend suggestions.
* The user id can be obtained by searching for "target_user_id" in the source code of their user page: https://plays.tv/u/$USERNAME
* The user id can be obtained by searching for "target_user_id" in the source code of their user page: <code></nowiki>https://plays.tv/u/$USERNAME</nowiki></code>
* User timeline: <code><nowiki>https://plays.tv/playsapi/feedsys/v1/userfeed/$USERNAME_OR_USERID/timeline</nowiki></code> Requires authentication.
* User timeline: <code><nowiki>https://plays.tv/playsapi/feedsys/v1/userfeed/$USERNAME_OR_USERID/timeline?limit=[12?]&filter=[(none)|friends]</nowiki></code> Requires authentication.
* Notifications <code><nowiki>https://plays.tv/ws/orbital/notifications/get</nowiki></code> Requires authentication.
* Notifications: <code><nowiki>https://plays.tv/ws/orbital/notifications/get</nowiki></code> Requires authentication.
 
* Something related to streaming (maybe creating a stream?): http://stream.playsapi.tv/v1/stream?userId=$USERID&appVersion=3.0.0&augerVersion=$AUGERVERSION
== References ==
== References ==
<references/>
<references/>

Revision as of 08:41, 8 December 2019

Plays.tv
Plays.tv is a platform for sharing video game recordings and screenshots.
Plays.tv is a platform for sharing video game recordings and screenshots.
URL https://plays.tv/
Status Closing
Archiving status Upcoming...
Archiving type Unknown
Project source https://github.com/ArchiveTeam/playstv-grab
IRC channel #stops.tv (on hackint)

Plays.tv is a platform for sharing video game recordings and screenshots. The website will be shutting down on December 15, 2019.[1].

URLs

  • Video watch page: https://plays.tv/video/$VIDEO_WEB_ID
  • Thumbnail: https://d[01]playscdntv-a.akamaihd.net/media/$VIDEO_BUCKET_ID/transcoded/$RESOLUTION.jpg
  • Video: https://d[01]playscdntv-a.akamaihd.net/media/$VIDEO_BUCKET_ID/transcoded/$RESOLUTION.mp4

Video IDs on the watch page URLs are [0-9a-f]{18}. In the bucket, two video ID schemes are in use: older uploads use a YouTube-like ID of [0-9a-zA-Z_-]{11}, newer ones are [0-9a-f]{8}[0-9a-z]{10}[0-9a-f]{6}. For the latter, the web page ID of a video starts with the same eight characters as the bucket ID, but the rest differs.

Known values for $RESOLUTION include: 144, 360, 480, 720, and 1080, with some resources only supporting lower resolutions.

The site uses two Akamai CDN domains, d0playscdntv-a.akamaihd.net and d1playscdntv-a.akamaihd.net, and both are proxies to the raptr-replay S3 bucket. That bucket contains about 422 million objects totalling 1085 TiB based on a scan from 2019-11-22 to 25.

Internal API

  • User feed: https://plays.tv/playsapi/feedsys/v1/userfeed/$USERNAME_OR_USERID/uploaded?limit=[10]&filter=[video|image] (parameters are optional, limit defaults to 10, filter defaults to a blank string (none)) This endpoint contains metadata (including a download URL) for each video.
  • User profile: https://plays.tv/ws/orbital/profile/$USERID?_orbitalapp=1 (the orbitalapp parameter doesn't seem to do anything). Requires the user id, and won't return anything for usernames. It also lists 12 of the user's videos (with urls to video thumbnails but not the video files themselves), and the usernames, profile images, and ids of followers, following, and friend suggestions.
  • The user id can be obtained by searching for "target_user_id" in the source code of their user page: </nowiki>https://plays.tv/u/$USERNAME</nowiki>
  • User timeline: https://plays.tv/playsapi/feedsys/v1/userfeed/$USERNAME_OR_USERID/timeline?limit=[12?]&filter=[(none)|friends] Requires authentication.
  • Notifications: https://plays.tv/ws/orbital/notifications/get Requires authentication.
  • Something related to streaming (maybe creating a stream?): http://stream.playsapi.tv/v1/stream?userId=$USERID&appVersion=3.0.0&augerVersion=$AUGERVERSION

References