Plays.tv

From Archiveteam
Revision as of 07:07, 8 December 2019 by Tech234a (talk | contribs) (Added some internal app APIs.)
Jump to: navigation, search
Plays.tv
Plays.tv logo
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/
Project status Closing
Archiving status Upcoming...
Project source https://github.com/ArchiveTeam/playstv-grab
Project tracker
IRC channel #stops.tv (on hackint)
Project lead Unknown

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</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
  • User timeline: https://plays.tv/playsapi/feedsys/v1/userfeed/$USERNAME_OR_USERID/timeline Requires authentication.
  • Notifications https://plays.tv/ws/orbital/notifications/get Requires authentication.

References