# Video Downloader: YouTube, TikTok, Instagram, X (`web.harvester/video-downloader`) Actor

Bulk video downloader for YouTube, TikTok, Instagram, X, Facebook, Pinterest and 1,100+ sites. Save MP4, MP3 or images, up to 4K, via API.

- **URL**: https://apify.com/web.harvester/video-downloader.md
- **Developed by:** [Web Harvester](https://apify.com/web.harvester) (community)
- **Features:** Limited permissions
- **Stats:** 14 total users, 9 monthly users, 83.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 downloaded files

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Video Downloader: YouTube, TikTok, Instagram, X

Download videos, audio, images and GIFs from YouTube, X, Instagram, TikTok, Pinterest and 1,100+ other sites. Paste links, pick a quality or audio format, and get the files back with a download link for each one.

You pay only for files that were downloaded: failed links are free.

### What it does

- Takes a list of links to posts, videos, tracks, galleries or direct media files.
- Downloads the media at the quality you choose, or extracts only the audio (mp3, ogg, wav, opus) or only the video.
- Stores every file in the run's key-value store and adds one dataset row per file with its download link, size, duration, resolution, title and author.
- Reports links that can't be downloaded as failed rows with a plain-language reason, so you know what to fix (proxy, cookies, private post).

### How to use it

1. Add one or more links under **Media URLs**. You can also upload a text file of links or point to one online.
2. Pick the **Download mode** and **Video quality** (1080p is a good default).
3. For YouTube, Instagram, TikTok and Facebook, set the **Proxy** to residential. These sites block datacenter IPs.
4. Click **Start**. When the run finishes, open the **Files** view and click a **Download** link, or fetch the files through the API.

### Cost

You pay two parts:

- **Per file:** a fixed price for each file stored (shown on the Pricing tab). Failed links are free.
- **Platform usage:** the compute, proxy traffic and storage the run uses. Proxy traffic is the largest part for big files, especially residential, so keep the quality at 1080p or lower unless you need more. With a proxy set, files are downloaded without it when the site allows (see **Download files without the proxy when possible**), which cuts proxy traffic a lot.

Set a maximum cost per run to cap spending. The Actor stops starting new links when the limit is reached.

### FAQ

**Why did a link fail with "blocked"?** The site refused the request. Use residential proxies, and for Instagram, X, TikTok or Facebook add log-in cookies (see Tips below). Reddit links always need the Reddit credentials.

**Can it download private or paid content?** Only what your cookies give access to. Paid content is never downloaded.

**Can it download playlists or galleries?** Yes. Up to **Max items per URL** items are downloaded from one link.

**Is it legal?** Download only content you own or have permission to use, and follow each site's terms of service.

### Supported sites

The Actor downloads from 1,100+ sites (full list below). These 21 have dedicated support:

| Site | Downloads |
|---|---|
| YouTube | videos, shorts, music |
| Twitter / X | videos, GIFs, images |
| Instagram | posts, reels, stories |
| TikTok | videos, photo posts |
| Bluesky | videos, images |
| Reddit | videos, images, galleries |
| Pinterest | pins, videos |
| Tumblr | videos, audio, images |
| Snapchat | spotlight, stories |
| Facebook | videos, reels |
| SoundCloud | tracks |
| Vimeo | videos |
| Bilibili | videos |
| Dailymotion | videos |
| Loom | recordings |
| Newgrounds | videos, audio |
| OK.ru | videos |
| Rutube | videos |
| Streamable | videos |
| Twitch | clips |
| VK | clips |

It also handles many image sites and direct links to media files (any URL that points straight at a video, audio or image file).

<details><summary>All 1,155 supported sites</summary>

10play, 17live, 1News, 1tv, 23video, 24tv.ua, 3qsdn, 3sat, 56.com, 7plus, 9c9media, 9gag, 9News, 9now.com.au, abc.net.au, abcnews, abcotvs, AbemaTV, AbemaTVTitle, AcademicEarth, acast, AcFunBangumi, AcFunVideo, ADN, ADNSeason, adobetv, aenetworks, AeonCo, agalega, AitubeKZVideo, Alibaba, AliExpressLive, AlJazeera, Allocine, Allstar, AllstarProfile, altcensored, Alura, AluraCourse, AmadeusTV, Amara, AmazonMiniTV, AmazonReviews, AmazonStore, AMCNetworks, AmericasTestKitchen, AmericasTestKitchenSeason, AmHistoryChannel, anderetijden, Angel, AnimalPlanet, ant1newsgr, antenna, Anvato, APA, Aparat, apple, archive.org, ArcPublishing, ARDAudiothek, ARDAudiothekPlaylist, ARDMediathek, ARDMediathekCollection, Art19, Art19Show, arte.sky.it, ArteTV, ArteTVCategory, ArteTVEmbed, ArteTVPlaylist, asobichannel, AsobiStage, AtresPlayer, AtScaleConfEvent, AudiMedia, AudioBoom, Audiodraft, audiomack, Audius, AZMedien, BaiduVideo, BanBye, BanByeChannel, Bandcamp, Bandlab, BandlabPlaylist, BannedVideo, bbc, bbc.co.uk, BBVTV, BBVTVLive, BBVTVRecordings, BeaconTv, Beatport, BerufeTV, Bet, bfmtv, bibeltv, Bigo, Bild, BiliBili, Bilibili category extractor, BilibiliAudio, BilibiliAudioAlbum, BiliBiliBangumi, BiliBiliBangumiMedia, BiliBiliBangumiSeason, BilibiliCheese, BilibiliCheeseSeason, BilibiliCollectionList, BiliBiliDynamic, BilibiliFavoritesList, BiliBiliPlayer, BilibiliPlaylist, BiliBiliSearch, BilibiliSeriesList, BilibiliSpaceAudio, BilibiliSpaceVideo, BilibiliWatchlater, BiliIntl, BiliLive, BioBioChileTV, Biography, BitChute, BitChuteChannel, Bitmovin, BlackboardCollaborate, BlackboardCollaborateLaunch, blerp, blogger.com, Bloomberg, Boosty, BostonGlobe, Box, BoxCastVideo, Bpb, BrainPOP, BrainPOPELL, BrainPOPEsp, BrainPOPFr, BrainPOPIl, BrainPOPJr, BravoTV, BreitBart, brightcove, Brilliantpala, bt, BTVPlus, Bundesliga, Bundestag, BunnyCdn, BusinessInsider, BuzzFeed, Caltrans, CamFMEpisode, CamFMShow, CamtasiaEmbed, Canal1, CanalAlpha, canalc2.tv, Canalplus, Canalsurmas, CaracolTvPlay, cbc.ca, CBSLocal, CBSLocalArticle, CBSLocalLive, cbsnews, CCMA, CCTV, Cellebrite, CeskaTelevize, CGTN, CharlieRose, Chilloutzone, chzzk, cielotv.it, CinetecaMilano, Cineverse, CineverseDetails, CiscoLiveSearch, CiscoLiveSession, ciscowebex, CJSW, Clipchamp, CloudflareStream, CloudyCDN, Clyp, CNBCVideo, CNN, CNNIndonesia, ComedyCentral, CondeNast, CookingChannel, Corus, Coub, CozyTV, cp24, cpac, Cracked, Craftsy, croatian.film, CrooksAndLiars, CrowdBunker, CrowdBunkerChannel, Crtvg, CSpan, CSpanCongress, CtsNews, CTVNews, cu.ntv.co.jp, CultureUnplugged, curiositystream, Cybrary, CybraryCourse, DacastPlaylist, DacastVOD, DagelijkseKost, DailyMail, DailyWire, DailyWirePodcast, damtomo, dangalplay, daum.net, daystar, DBTV, DctpTv, democracynow, DestinationAmerica, DetikEmbed, DeuxM, DeuxMNews, DigitalConcertHall, Digiteka, Digiview, DiscogsReleasePlaylist, DiscoveryLife, DiscoveryNetworksDe, DiscoveryPlus, DiscoveryPlusIndia, DiscoveryPlusIndiaShow, DiscoveryPlusItaly, DiscoveryPlusItalyShow, Disney, dlf, dlive, Douyin, DouyuShow, DouyuTV, DPlay, DRBonanza, Dropbox, Dropout, DropoutSeason, DrTalks, drtv, Dumpert, Duoplay, dvtv, EbaumsWorld, Ebay, egghead, eggs, EinsUndEinsTV, EinsUndEinsTVLive, EinsUndEinsTVRecordings, ElementorEmbed, Elonet, ElPais, ElTreceTV, Embedly, Epicon, EpiconSeries, EpidemicSound, eplus, Epoch, ERRArhiiv, ERRJupiter, ertflix, ertwebtv, ESPN, ESPNArticle, ESPNCricInfo, EttuTv, EuroParlWebstream, EuropeanTour, Eurosport, EUScreen, EWETV, EWETVLive, EWETVRecordings, Expressen, facebook, FacebookPluginsVideo, FacebookRedirectURL, Fathom, Faulio, FaulioLive, faz.net, fc2, Fczenit, Fifa, FilmArchiv, filmon, Filmweb, FiveThirtyEight, FiveTV, Flickr, Floatplane, FloatplaneChannel, FoodNetwork, FootyRoom, Formula1, FOX, FOX9, FOX9News, foxnews, FoxNewsVideo, FoxSports, fptplay, FrancaisFacile, FranceCulture, franceinfo, francetv, Freesound, freespeech.org, freetv, FreeTvMovies, FrontendMasters, FrontendMastersCourse, FrontendMastersLesson, Funk, Funker530, FuyinTV, Gab, Gaia, GameDevTVDashboard, GameJolt, GameJoltCommunity, GameJoltGame, GameJoltGameSoundtrack, GameJoltSearch, GameJoltUser, GameSpot, GameStar, Gaskrank, GBNews, GediDigital, gem.cbc.ca, Genius, GeniusLyrics, Germanupa, GetCourseRu, GetCourseRuPlayer, Gettr, GettrStreaming, GiantBomb, GlattvisionTV, GlattvisionTVLive, GlattvisionTVRecordings, Glide, GlobalPlayerAudio, GlobalPlayerAudioEpisode, GlobalPlayerLive, GlobalPlayerLivePlaylist, GlobalPlayerVideo, Globo, GloboArticle, glomex, GMANetworkVideo, Go, GoDiscovery, GodResource, Golem, GoogleDrive, GoPro, GoToStage, Graspop, gronkh, Groupon, Harpodeon, hbo, HearThisAt, Heise, hetklokhuis, hgtv.com, HGTVDe, HGTVUsa, HiDive, HistoricFilms, history, HitRecord, HollywoodReporter, HollywoodReporterPlaylist, Holodex, hotstar, HotStarPrefix, href.li, hrfernsehen, HRTi, HRTiPlaylist, HSEProduct, HSEShow, Huajiao, HuffPost, Hungama, HungamaAlbumPlaylist, HungamaSong, huya, Hypem, Hytale, Icareus, IdagioAlbum, IdagioPersonalPlaylist, IdagioPlaylist, IdagioRecording, IdagioTrack, iflix, IflixSeries, ign.com, IGNArticle, IGNVideo, iheartradio, IlPost, Iltalehti, imdb, imgur, Ina, Inc, IndavideoEmbed, InfoQ, Instagram, InstagramIOS, Internazionale, InvestigationDiscovery, IPrima, IPrimaCNN, iq.com, iqiyi, IslamChannel, IslamChannelSeries, IsraelNationalNews, ITProTV, ITProTVCourse, ITV, ITVBTCC, ivi, ivideon, Ivoox, Ixigua, Jamendo, JamendoAlbum, jiosaavn, Joj, Jove, JStream, JTBC, JWPlatform, Kakao, Kaltura, Kenh14Playlist, Kenh14Video, khanacademy, Kicker, KickStarter, Kika, KikaPlaylist, KinoPoisk, Kommunetv, KompasVideo, KTH, Ku6, KukuluLive, la7.it, laracasts, LastFM, LastFMPlaylist, LastFMUser, LaXarxaMes, lbry, LCI, Le, LearningOnScreen, Lecturio, LecturioCourse, LecturioDeCourse, LeFigaroVideoEmbed, LeFigaroVideoSection, LEGO, Lemonde, LePlaylist, Libsyn, life, likee, linkedin, Liputan6, ListenNotes, LiTV, Livestreamfails, Lnk, loc, Locipo, LocipoPlaylist, Loco, loom, LRTRadio, LRTStream, LRTVOD, LSMLREmbed, LSMLTVEmbed, LSMReplay, Lumni, maariv.co.il, MagellanTV, MagentaMusik, mailru, MainStreaming, mangomolo, MangoTV, MaoriTV, massengeschmack.tv, Masters, MatchiTV, MatchTV, MBN, MDR, MedalTV, media.ccc.de, Mediaite, MediaKlikk, Medialaan, Mediaset, MediasetShow, Mediasite, MediasiteCatalog, MediasiteNamedCatalog, MediaStream, MediaWorksNZVOD, Medici, megaphone.fm, megatvcom, Meipai, mellowfan, MelonVOD, Metacritic, mewatch, MicrosoftBuild, MicrosoftEmbed, MicrosoftLearnEpisode, MicrosoftLearnPlaylist, MicrosoftLearnSession, MicrosoftMedius, minds, mir24.tv, mirrativ, MirrorCoUK, mixch, mixcloud, Mixlr, MixlrRecoring, MLB, MLBArticle, MLBTV, MLBVideo, MLSSoccer, MNetTV, MNetTVLive, MNetTVRecordings, MochaVideo, Mojevideo, Monstercat, monstersiren, moviepilot, MovingImage, MSN, mtg, mtv, MujRozhlas, MuseAI, MuseScore, Mux, Mx3, Mx3Neo, Mx3Volksmusik, MySpace, MySpass, MyVideoGe, Mzaalo, n-tv.de, N1Info, N1InfoAsset, NascarClassics, Nate, NateProgram, NationalGeographicTV, Naver, NBC, NBCNews, nbcolympics, NBCStations, ndr, nebula, NekoHacker, Nest, NestClip, NetAppCollection, NetAppVideo, netease, NetPlusTV, NetPlusTVLive, NetPlusTVRecordings, Netzkino, NewsPicks, Newsy, Nexx, NexxEmbed, nfb, NFHSNetwork, nfl.com, NhkForSchoolBangumi, NhkForSchoolProgramList, NhkForSchoolSubject, NhkRadioNewsPage, NhkRadiru, NhkRadiruLive, NhkVod, NhkVodProgram, nhl.com, nick.com, NinaProtocol, Nintendo, Nitter, njoy, NobelPrize, NoicePodcast, NOSNLArticle, Nova, NovaEmbed, NovaPlay, NowCanal, nowness, npo, npo.nl, Npr, NRK, NRKPlaylist, NRKRadioPodkast, NRKSkole, NRKTV, NRKTVDirekte, NRKTVEpisode, NRKTVEpisodes, NRKTVSeason, NRKTVSeries, nts.live, ntv.ru, NYTimes, NYTimesArticle, NYTimesCookingGuide, NYTimesCookingRecipe, nzherald, NZOnScreen, NZZ, ocw.mit.edu, Odnoklassniki, OfTV, OfTVPlaylist, OlympicsReplay, Omnyfm, OmnyfmPlaylist, OmnyfmShow, on24, OnDemandChinaEpisode, OneFootball, OnePlacePodcast, onet.pl, onet.tv, OnetMVP, onsen, Opencast, OpencastPlaylist, orf, OsnatelTV, OsnatelTVLive, OsnatelTVRecordings, OutsideTV, OwnCloud, PacktPub, PacktPubCourse, PalcoMP3, PandaTv, Panopto, PanoptoList, PanoptoPlaylist, ParamountPressExpress, Parler, parliamentlive.tv, Parlview, parti, patreon, pbs, PBSKids, PearVideo, peer.tv, PeerTube, peloton, PerformGroup, periscope, PGATour, PhilharmonieDeParis, phoenix.de, Photobucket, PiaLive, Piapro, Piksel, Pinkbike, Pinterest, PinterestCollection, Platzi, PlatziCourse, play.tv, player.sky.it, PlayerFm, PlaySuisse, pluralsight, PlyrEmbed, PodbayFM, PodbayFMChannel, Podchaser, PokerGo, PokerGoCollection, PolsatGo, polskieradio, Popcorntimes, PopcornTV, PrankCast, PrankCastPost, PremiershipRugby, PressTV, PRXAccount, PRXSeries, prxstories, PRXStory, puhutv, Pyvideo, QDance, QingTing, qqmusic, QuantumTV, QuantumTVLive, QuantumTVRecordings, Radiko, RadikoRadio, Radio1Be, radiocanada, radiofrance, RadioFranceLive, RadioFrancePodcast, RadioFranceProfile, RadioFranceProgramSchedule, radiokapital, RadioRadicale, RadioZetPodcast, radlive, Rai, RaiCultura, RaiNews, RaiPlay, RaiPlayLive, RaiPlayPlaylist, RaiPlaySound, RaiPlaySoundLive, RaiPlaySoundPlaylist, RaiSudtirol, RayWenderlich, RayWenderlichCourse, RbgTum, RbgTumCourse, RbgTumNewCourse, RCS, RCSEmbeds, RCSVarious, RCTIPlus, RCTIPlusSeries, RCTIPlusTV, RedBull, RedBullEmbed, RedBullTV, RedBullTVRrnContent, ReverbNation, RideHome, RinseFM, RinseFMArtistPlaylist, rokfin, RoosterTeeth, RoosterTeethSeries, RottenTomatoes, RoyaLive, Rozhlas, RozhlasVltava, RTDocumentry, RTDocumentryPlaylist, rte, rtl.lu, rtl.nl, RTLLuLive, RTLLuRadio, RTNews, RTP, RTRFM, RTVCKaltura, RTVCPlay, RTVCPlayEmbed, rtve.es, rtvslo.si, RudoVideo, Rumble, RumbleChannel, RumbleEmbed, Ruptly, rutube, Ruv, ruv.is, S4C, S4CSeries, safari, SAKTV, SAKTVLive, SAKTVRecordings, SaltTV, SaltTVLive, SaltTVRecordings, SampleFocus, Sangiin, SangiinInstruction, Sapo, SaucePlus, SaucePlusChannel, SBS, sbs.co.kr, schooltv, ScienceChannel, Screen9, Screencast, Screencastify, ScreencastOMatic, ScreenRec, ScrippsNetworks, Sen, senate.gov, Servus, SeznamZpravy, SeznamZpravyArticle, Shahid, ShahidShow, SharePoint, ShemarooMe, Shiey, showroom, ShugiinItvLive, ShugiinItvLiveRoom, ShugiinItvVod, SibnetEmbed, simplecast, Sina, Skeb, sky, sky.it, SkyNewsAU, Slideshare, SlidesLive, smotrim, SnapchatSpotlight, SoftWhiteUnderbelly, Sohu, SohuV, SonyLIV, SonyLIVSeries, soop, soundcloud, SoundcloudEmbed, soundgasm, southpark.cc.com, southpark.de, southpark.lat, southparkstudios.co.uk, southparkstudios.com.br, southparkstudios.nu, SovietsCloset, SovietsClosetPlaylist, Spiegel, Sport5, sporteurope, Spreaker, SpreakerShow, SproutVideo, sr, SRGSSR, SRGSSRPlay, StacommuLive, StacommuVOD, StagePlusVODConcert, startrek, startv, Steam, SteamCommunity, SteamCommunityBroadcast, StoryFire, StoryFireSeries, StoryFireUser, Streaks, Streamable, StreamCZ, StreetVoice, stv, stvr, Subsplash, Substack, sverigesradio, svt, Syfy, SztvHu, TapTapApp, TapTapAppIntl, TapTapMoment, TapTapPostIntl, tarangplus, TBS, TBSJPEpisode, TBSJPPlaylist, TBSJPProgram, TeachableCourse, Teamcoco, TeamTreeHouse, techtv.mit.edu, TedEmbed, TedPlaylist, TedSeries, TedTalk, Tele13, Tele5, TeleBruxelles, TelecaribePlay, Telecinco, Telegraaf, telegram, TeleQuebec, TeleQuebecEmission, TeleQuebecLive, TeleQuebecSquat, TeleQuebecVideo, Telewebion, TennisTV, TF1, theatercomplextown, TheChosen, TheGuardianPodcast, TheGuardianPodcastPlaylist, TheHighWire, TheIntercept, ThePlatform, ThePlatformFeed, TheStar, TheSun, TheWeatherChannel, ThisAmericanLife, ThisOldHouse, ThreeSpeak, ThreeSpeakUser, tiktok, TLC, TMZ, toggle, toggo, tokfm, ToonGoggles, tou.tv, toutiao, TravelChannel, TrtCocukVideo, TrtWorld, TrueID, TruNews, Truth, ttinglive, TubeTuGraz, TubeTuGrazSeries, tubitv, Tumblr, tunein, tv.dfb.de, TV2, TV2Article, TV2DK, TV2DKBornholmPlay, tv2play.hu, tv2playseries.hu, TV4, TV5MONDE, tv5unis, tv8.it, TVANouvelles, TVANouvellesArticle, tvaplus, TVC, TVCArticle, TVer, tvigle, TVIPlayer, tvnoe, TVO, tvopengr, tvp, TVPlayHome, tvw, Tweakers, TwitCasting, TwitCastingLive, TwitCastingUser, twitch, udemy, UDNEmbed, UFCTV, UlizaPlayer, UlizaPortal, umg, Unistra, UnitedNationsWebTv, uol.com.br, uplynk, URPlay, USANetwork, USAToday, ustream, ustudio, Vbox7, Veo, vh1.com, vhx, Videa, video.arnes.si, video.google, video.sky.it, VideoKenPlayer, VideoPress, Vidflex, Vidio, VidioLive, VidioPremier, VidLii, Vidly, vids.io, Vidyard, viewlift, Viidea, vimeo, ViMP, Viously, Visir, Viu, ViuOTTIndonesia, vk, VKPlay, VKPlayLive, vm.tiktok, Vocaroo, VODPlatform, volejtv, VoxMedia, VoxMediaVolume, vpro, vqq, vrsquare, VRT, vrtmax, VTM, VTV, VTVGo, VTXTV, VTXTVLive, VTXTVRecordings, WalyTV, WalyTVLive, WalyTVRecordings, washingtonpost, wat.tv, WatchESPN, WDR, WDRElefant, WDRPage, web.archive, Webcamerapl, Webcaster, WebcasterFeed, WebOfStories, WebOfStoriesPlaylist, Weibo, WeiboUser, WeiboVideo, wetv, WeTvSeries, Weverse, WeverseLive, WeverseLiveTab, WeverseMedia, WeverseMediaTab, WeverseMoment, WeVidi, Whyp, wikimedia.org, Wimbledon, WimTV, WinSportsVideo, Wistia, WistiaChannel, WistiaPlaylist, wnl, wordpress, WorldStarHipHop, wppilot, wrestleuniverse, WSJ, WSJArticle, WWE, wyborcza, WyborczaPodcast, wykop, XboxClips, XiaoHongShu, ximalaya, Xinpianchang, yahoo, YandexDisk, yandexmusic, YappyProfile, yfanefa, YleAreena, youku, YouNowChannel, YouNowLive, YouNowMoment, Zaiko, ZaikoETicket, zan, Zapiks, Zattoo, ZattooLive, ZattooMovies, ZattooRecordings, zdf, ZetlandDKArticle, Zhihu, zingmp3, zoom, Zype

### Input

| Title | Key | Default | Description |
|---|---|---|---|
| Media URLs | `startUrls` | `none` | Links to posts, videos, tracks or direct media files. Dedicated support for YouTube, X/Twitter, Instagram, TikTok, Facebook, Reddit, Bluesky, Pinterest, Tumblr, Snapchat, SoundCloud, Vimeo, Bilibili, Dailymotion, Loom, Newgrounds, OK.ru, Rutube, Streamable, Twitch clips and VK clips. 1,100+ sites in total (full list in the README), plus many image sites and any direct link to a media file. |
| Download mode | `downloadMode` | `"auto"` | What to save: the full video, only the sound, or the video without sound. Values: `auto`, `audio`, `mute`. |
| Video quality | `videoQuality` | `"1080"` | Target resolution, based on the shorter side of the video. If it isn't available, the closest one is used. 1080p is recommended: higher qualities make files several times larger, which costs much more proxy traffic (especially residential), time and storage. Values: `max`, `4320`, `2160`, `1440`, `1080`, `720`, `480`, `360`, `240`, `144`. |
| Audio format | `audioFormat` | `"mp3"` | File type for audio downloads. "best" keeps the original audio without re-encoding. Values: `best`, `mp3`, `ogg`, `wav`, `opus`. |
| Audio bitrate (kbps) | `audioBitrate` | `"128"` | Audio quality in kbps. Only used when audio has to be re-encoded. Values: `320`, `256`, `128`, `96`, `64`, `8`. |
| Filename style | `filenameStyle` | `"basic"` | How output files are named. Example for a YouTube video with title "Me at the zoo" by "jawed": classic = youtube_jNQXAC9IVRw_1920x1080_h264.mp4; basic = Me at the zoo - jawed (1080p, h264).mp4; pretty = Me at the zoo - jawed (1080p, h264, youtube).mp4; nerdy = Me at the zoo - jawed (1080p, h264, youtube, jNQXAC9IVRw).mp4. Values: `classic`, `basic`, `pretty`, `nerdy`. |
| Preferred video codec | `youtubeVideoCodec` | `"h264"` | h264 works everywhere. av1 and vp9 give better quality for the file size. Applies to YouTube and most other video sites. Values: `h264`, `av1`, `vp9`. |
| Video container | `youtubeVideoContainer` | `"auto"` | File type for videos. "auto" gives mp4 for h264 and webm for vp9 and av1. Applies to YouTube and most other video sites. Values: `auto`, `mp4`, `webm`, `mkv`. |
| Preferred dubbed audio language | `youtubeDubLang` | `none` | Two-letter language code (for example en, es, de). Picks the dubbed audio track in that language when one exists. Leave empty for the original audio. |
| Prefer higher-quality YouTube audio | `youtubeBetterAudio` | `false` | Picks the highest-bitrate audio track whatever its format. The file may end up as mkv or webm. |
| YouTube PO-token server URL | `youtubePoTokenServerUrl` | `none` | Address of a small helper server that generates YouTube proof-of-origin tokens. Use it when YouTube answers "Sign in to confirm you're not a bot" |
| Subtitle language | `subtitleLang` | `none` | Two-letter language code (for example en). Embeds subtitles in that language when the site offers them. Leave empty for none. |
| Convert GIF videos to .gif | `convertGif` | `true` | X and Bluesky "GIFs" are really short videos. Turn this on to save them as real .gif files. |
| Allow H.265 (TikTok) | `allowH265` | `false` | Allow H.265 (HEVC) videos from TikTok. They are smaller but some players can't open them. |
| TikTok original sound | `tiktokFullAudio` | `false` | In audio mode, save the original sound used in the TikTok instead of the video's soundtrack. |
| Disable metadata | `disableMetadata` | `false` | Don't write title, artist and cover art into the files. |
| Max items per URL | `maxItemsPerUrl` | `50` | Maximum number of items to download from one URL that holds several, such as a carousel, gallery or playlist. |
| Max media duration (seconds) | `maxDurationSeconds` | `10800` | Longer videos are skipped and reported as failed. Default 10800 = 3 hours. |
| Max file size (MB) | `maxFileSizeMb` | `2048` | Larger files are skipped and reported as failed. For files over about 1 GB, raise the run's memory (disk space is 2× memory). |
| Proxy | `proxyConfiguration` | `{"useApifyProxy": true}` | Required: the Actor does not run without a proxy. Apify Proxy (datacenter) is enough for many sites. Residential proxies are recommended for YouTube, Instagram, TikTok and Facebook. |
| Download files without the proxy when possible | `directDownload` | `true` | The proxy is still used to open the page and find the media. The file itself is downloaded directly, which is faster and uses much less proxy traffic. If a site refuses the direct download, the proxy is used instead. Turn this off to send everything through the proxy. |
| Cookies | `cookies` | `none` | Optional. Log-in cookies for each service, keyed by service name: instagram, instagram_bearer, twitter, reddit, youtube, vimeo_bearer, facebook, tiktok. Normal keys take a browser cookie string, "name=value; name2=value2". instagram_bearer takes `token=<token>`. vimeo_bearer takes `access_token=<token>`. See the README for how to export cookies. Each service's cookies are only sent to that service. |

Only `startUrls` is required.

### Output

Each processed URL adds one dataset row per stored file (or one failure row). The **Files** view shows a preview, title, download link, readable size and, for failed links, why they failed. The files are in the key-value store under `storeKey`. If none of the links could be downloaded, the run ends with status Failed; otherwise it succeeds and the status message gives the totals.

Success row:

```json
{
  "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "resolvedUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "service": "youtube",
  "serviceName": "YouTube",
  "engine": "extractor",
  "attempts": [
    {
      "engine": "extractor",
      "result": "ok"
    }
  ],
  "status": "ok",
  "downloaded": true,
  "mediaType": "video",
  "index": 1,
  "fileName": "Me at the zoo - jawed (240p, h264).mp4",
  "fileUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/<storeKey>",
  "storeKey": "media-Me-at-the-zoo---jawed-(240p-h264)-d9068d49.mp4",
  "contentType": "video/mp4",
  "sizeBytes": 745938,
  "fileSize": "728.5 KB",
  "downloadSeconds": 9.4,
  "durationSeconds": 19.064,
  "width": 320,
  "height": 240,
  "title": "Me at the zoo",
  "author": "jawed",
  "thumbnailUrl": "https://i.ytimg.com/vi/<id>/hqdefault.jpg",
  "sourceUrl": null,
  "direct": true
}
```

Failure row:

```json
{
  "url": "https://example.com/",
  "resolvedUrl": "https://example.com/",
  "service": "example",
  "serviceName": "example.com",
  "attempts": [
    {
      "engine": "extractor",
      "result": "link.unsupported"
    },
    {
      "engine": "gallery",
      "result": "link.unsupported"
    },
    {
      "engine": "page-scan",
      "result": "fetch.empty"
    }
  ],
  "status": "failed",
  "downloaded": false,
  "errorMessage": "Couldn't find any downloadable media at this link. Details: no media found on the page.",
  "error": {
    "code": "fetch.empty",
    "message": "Couldn't find any downloadable media at this link. Details: no media found on the page."
  }
}
```

### Tips

- **Proxy:** a proxy is required; a run with no proxy stops right away. Use a residential proxy for YouTube, Instagram, TikTok and Facebook. These sites block datacenter IPs. The proxy is only used to find the media; files are downloaded without it when the site allows, and the `direct` field of each result row tells you which way a file came. Each link, and each retry of a link, uses its own proxy session.
- **Cookies:** pass cookies per service as a string of the form `"name=value; name2=value2"`, for example `{"instagram": "sessionid=abc; csrftoken=def"}`. Export them from a logged-in browser session (the browser dev tools show them under Application > Cookies, or use a cookie export extension and join the pairs). `instagram_bearer` takes `token=<token>` and `vimeo_bearer` takes `access_token=<token>`. A service's cookies are only sent to that service.
  - `vimeo_bearer` takes a Vimeo API token as `access_token=<token>`. It is optional; Vimeo works without it.
  - `reddit` takes Reddit OAuth app credentials as `client_id=<id>; client_secret=<secret>; refresh_token=<token>`. The Actor refreshes the access token itself. Reddit links need these credentials to download.
- **`youtubePoTokenServerUrl`:** the address of a helper server that generates YouTube proof-of-origin tokens. YouTube sometimes demands one ("Sign in to confirm you're not a bot"); the server supplies it. Leave empty unless you see that error.
- **Memory and disk:** the run's disk is 2x its memory. The largest single file is limited by `maxFileSizeMb`; raise the Actor memory if you need bigger files. Downloads of unknown size reserve about 0.5 GB of disk each while running (videos that need merging can reserve up to twice that), so a few can run in parallel.

### Credits and license

- Media extraction logic ported from cobalt (https://github.com/imputnet/cobalt), AGPL-3.0.
- Uses yt-dlp (Unlicense), gallery-dl (GPL-2.0, run as a separate program) and FFmpeg.
- This Actor is licensed under AGPL-3.0; see LICENSE.

# Actor input Schema

## `startUrls` (type: `array`):

Links to posts, videos, tracks or direct media files. Dedicated support for YouTube, X/Twitter, Instagram, TikTok, Facebook, Reddit, Bluesky, Pinterest, Tumblr, Snapchat, SoundCloud, Vimeo, Bilibili, Dailymotion, Loom, Newgrounds, OK.ru, Rutube, Streamable, Twitch clips and VK clips. 1,100+ sites in total (full list in the README), plus many image sites and any direct link to a media file.

## `downloadMode` (type: `string`):

What to save: the full video, only the sound, or the video without sound.

## `videoQuality` (type: `string`):

Target resolution, based on the shorter side of the video. If it isn't available, the closest one is used. 1080p is recommended: higher qualities make files several times larger, which costs much more proxy traffic (especially residential), time and storage.

## `audioFormat` (type: `string`):

File type for audio downloads. "best" keeps the original audio without re-encoding.

## `audioBitrate` (type: `string`):

Audio quality in kbps. Only used when audio has to be re-encoded.

## `filenameStyle` (type: `string`):

How output files are named. Example for a YouTube video with title "Me at the zoo" by "jawed": classic = youtube_jNQXAC9IVRw_1920x1080_h264.mp4; basic = Me at the zoo - jawed (1080p, h264).mp4; pretty = Me at the zoo - jawed (1080p, h264, youtube).mp4; nerdy = Me at the zoo - jawed (1080p, h264, youtube, jNQXAC9IVRw).mp4.

## `youtubeVideoCodec` (type: `string`):

h264 works everywhere. av1 and vp9 give better quality for the file size. Applies to YouTube and most other video sites.

## `youtubeVideoContainer` (type: `string`):

File type for videos. "auto" gives mp4 for h264 and webm for vp9 and av1. Applies to YouTube and most other video sites.

## `youtubeDubLang` (type: `string`):

Two-letter language code (for example en, es, de). Picks the dubbed audio track in that language when one exists. Leave empty for the original audio.

## `youtubeBetterAudio` (type: `boolean`):

Picks the highest-bitrate audio track whatever its format. The file may end up as mkv or webm.

## `youtubePoTokenServerUrl` (type: `string`):

Address of a small helper server that generates YouTube proof-of-origin tokens. Use it when YouTube answers "Sign in to confirm you're not a bot"

## `subtitleLang` (type: `string`):

Two-letter language code (for example en). Embeds subtitles in that language when the site offers them. Leave empty for none.

## `convertGif` (type: `boolean`):

X and Bluesky "GIFs" are really short videos. Turn this on to save them as real .gif files.

## `allowH265` (type: `boolean`):

Allow H.265 (HEVC) videos from TikTok. They are smaller but some players can't open them.

## `tiktokFullAudio` (type: `boolean`):

In audio mode, save the original sound used in the TikTok instead of the video's soundtrack.

## `disableMetadata` (type: `boolean`):

Don't write title, artist and cover art into the files.

## `maxItemsPerUrl` (type: `integer`):

Maximum number of items to download from one URL that holds several, such as a carousel, gallery or playlist.

## `maxDurationSeconds` (type: `integer`):

Longer videos are skipped and reported as failed. Default 10800 = 3 hours.

## `maxFileSizeMb` (type: `integer`):

Larger files are skipped and reported as failed. For files over about 1 GB, raise the run's memory (disk space is 2× memory).

## `proxyConfiguration` (type: `object`):

Required: the Actor does not run without a proxy. Apify Proxy (datacenter) is enough for many sites. Residential proxies are recommended for YouTube, Instagram, TikTok and Facebook.

## `directDownload` (type: `boolean`):

The proxy is still used to open the page and find the media. The file itself is downloaded directly, which is faster and uses much less proxy traffic. If a site refuses the direct download, the proxy is used instead. Turn this off to send everything through the proxy.

## `cookies` (type: `object`):

Optional. Log-in cookies for each service, keyed by service name: instagram, instagram_bearer, twitter, reddit, youtube, vimeo_bearer, facebook, tiktok. Normal keys take a browser cookie string, "name=value; name2=value2". instagram_bearer takes "token=<token>". vimeo_bearer takes "access_token=<token>". See the README for how to export cookies. Each service's cookies are only sent to that service.

## `maxConcurrency` (type: `integer`):

Advanced. Leave unset to let the Actor choose. Number of links processed at the same time.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://streamable.com/p9cln4"
    }
  ],
  "downloadMode": "auto",
  "videoQuality": "1080",
  "audioFormat": "mp3",
  "audioBitrate": "128",
  "filenameStyle": "basic",
  "youtubeVideoCodec": "h264",
  "youtubeVideoContainer": "auto",
  "youtubeBetterAudio": false,
  "convertGif": true,
  "allowH265": false,
  "tiktokFullAudio": false,
  "disableMetadata": false,
  "maxItemsPerUrl": 50,
  "maxDurationSeconds": 10800,
  "maxFileSizeMb": 2048,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "directDownload": true
}
```

# Actor output Schema

## `results` (type: `string`):

One row per downloaded file, or per link that failed.

## `files` (type: `string`):

The video, audio and image files saved by the run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://streamable.com/p9cln4"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("web.harvester/video-downloader").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://streamable.com/p9cln4" }],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("web.harvester/video-downloader").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://streamable.com/p9cln4"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call web.harvester/video-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,web.harvester/video-downloader"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zsD8fxO2eX5rIeEGH/builds/HxoiWKK5gtHfxRe07/openapi.json
