
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
directdetect
Advanced tools
Turn a variety of video-hosting website links into playable video streams.
Turn a variety of video-hosting website links into playable video streams.
Currently directdetect supports the following websites:
[ 'vidspot.net', 'allmyvideos.net', 'gorillavid.in', 'daclips.in',
'vodlocker.com', 'royalvids.eu', 'nosvideo.com', 'promptfile.com',
'sharerepo.com', 'sharesix.com', 'filenuke.com', 'thefile.me', 'videoweed.es',
'novamov.com', 'vidzi.tv', 'zalaa.com', 'uploadc.com' ]
For the module:
$ npm install directdetect
The command-line program:
$ npm install -g directdetect
var fs = require('fs');
var directdetect = require('directdetect');
var link = 'http://guerrillavid.in/f94k31d3';
if (directdetect.test(link)) {
directdetect(link).pipe(fs.createWriteStream('test.mp4'));
}
Find the direct download link and download it as a readable stream. You can normally expect an MP4 with H264, but don't count on it.
options is an optional argument that if provided, is passed into the needle
request functions. This is provided for a convenient method to change the
browser's user agent or add an HTTP proxy.
Check if directdetect has a handler for your video link or not. Returns a
boolean true/false value.
An array of the hosts directdetect supports.
Usage: directdetect <link> [options]
<link> being a video link from a supported host.
-h, --help Display this screen.
-c, --check If <link> is provided, return true/false
depending if directdetect is able to
stream the link or not. Otherwise, list the
available video-hosting websites.
-t, --timeout Set a custom timeout for each request. By
default the timeout is set to 10.
-x proxy An HTTP proxy to send requests with.
-a agent Set a custom HTTP User-Agent string.
-q, --quiet Don't output download progress.
-o file Output video contents to specified file.
-s, --stdout Dump video contents to stdout.
$ directdetect http://guerrillavid.in/f94k31d3 -o ./out.mp4
$ directdetect http://guerrillavid.in/f94k31d3 --stdout | mplayer --cache 8192 -
MIT
FAQs
Turn a variety of video-hosting website links into playable video streams.
The npm package directdetect receives a total of 1 weekly downloads. As such, directdetect popularity was classified as not popular.
We found that directdetect demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.