From 626ec5e3aae1df5e559fa914fb7a81306b11c87b Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Mon, 22 Apr 2024 08:53:35 +0200 Subject: [PATCH] Add extract media url service to media extractor (#32331) Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/media_extractor.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/_integrations/media_extractor.markdown b/source/_integrations/media_extractor.markdown index 2241c8d0236..877144db959 100644 --- a/source/_integrations/media_extractor.markdown +++ b/source/_integrations/media_extractor.markdown @@ -77,6 +77,15 @@ This will download the file from the given URL. | `media_content_id` | no | The ID of the content to play. Platform dependent. | | `media_content_type` | no | The type of the content to play. Must be one of MUSIC, TVSHOW, VIDEO, EPISODE, CHANNEL or PLAYLIST MUSIC. | +### Extract media URL service + +There is also a service that will directly return the URL in the response of the service. + +| Service data attribute | Optional | Description | +|-----------------------| -------- |-----------------------------------------------------------------------------------------------------------| +| `url` | no | The URL of the media to extract. | +| `format_query` | yes | The query that will be used to select the right media. | + ### Cookies Some supported video services provide a better experience when you are logged in. For example, if you use Twitch Turbo or are subscribed to a Twitch streamer, logging in prevents the video stream from showing an "An ad is currently playing. Come back after the break." message until the ad is over. Other examples are private or purchased YouTube videos which you can only watch while logged in.