By using software designed to trick the server into thinking it's a legitimate Netflix/AMZN/Paramount/Apple/etc app so the server serves the video. The software merges the chunks of video/audio the server sends into a video file once it completes the download. Then they take that video file, download the subtitles, and mux them all into the final mkv that you, the end-user, downloads from wherever.