Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lixxteq/vk-video-extractor
NPM package for extracting VKontakte public videos direct links and downloading them
https://github.com/lixxteq/vk-video-extractor
Last synced: 9 days ago
JSON representation
NPM package for extracting VKontakte public videos direct links and downloading them
- Host: GitHub
- URL: https://github.com/lixxteq/vk-video-extractor
- Owner: lixxteq
- Created: 2024-06-16T12:04:50.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T22:32:41.000Z (7 months ago)
- Last Synced: 2024-11-16T01:31:54.410Z (2 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VK-VIDEO-EXTRACTOR
## Installation
Using NPM:
```bash
npm install git+https://github.com/lixxteq/vk-video-extractor.git
```Using yarn:
```bash
yarn add git+https://github.com/lixxteq/vk-video-extractor.git
```## Usage
```js
import Extractor from 'vk-video-extractor';const ext = new Extractor("https://vk.com/video-206819080_456239059");
// get info about video, including direct url
console.log(await ext.getVideoInfo());
// download video and return download path
console.log(await ext.download())// download any other resource (document, audio) by direct url
await Extractor.downloadResourceByDirectUrl('https://vk.com/some_document?api=1&no_preview=1')
```