# vsco-dl

> A package for downloading (and optionally zipping) files from a VSCO user

Latest version **1.1.1** (published 2022-01-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install vsco-dl
pnpm add vsco-dl
yarn add vsco-dl
bun add vsco-dl
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2022-01-04 |
| First published | 2021-11-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 (+9 in 2 direct dependencies) |
| Install scripts | no |
| Author | DavidAngell |
| Maintainers | davidangell |
| Keywords | vsco, download, vsco, download, vsco-dl, vsco, dl |

## Links

- npm: https://www.npmjs.com/package/vsco-dl
- Repository: https://github.com/DavidAngell/vsco-dl
- Homepage: https://github.com/DavidAngell/vsco-dl#readme
- Issues: https://github.com/DavidAngell/vsco-dl/issues
- npm.io page: https://npm.io/package/vsco-dl

## Dependencies (3)

- [adm-zip](https://npm.io/package/adm-zip.md) ^0.5.9
- [cheerio](https://npm.io/package/cheerio.md) *
- [request](https://npm.io/package/request.md) ^2.88.2

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2022-01-04
- 1.1.0 — 2022-01-04
- 1.0.0 — 2021-11-11

## README

# VSCO Downloader
An npm package for downloading media from VSCO gallery

Installation
-----
```
npm install vsco-dl
```
Requires
-----
  * request
  * cheerio
  * adm-zip

Usage
-----

### Adding To Project
``` javascript
const vscoSession = require('vsco-dl')();
```

### Download Entire Gallery
``` javascript
const username = "david"
const limit = 1000 //how many photos/videos it will download
const filePath = "./yeet/lmao" //optional (default: "./temp/[randomID]")
vscoSession.getMedia(username, limit)
	.catch(err => console.log(err))
	.then(media => media.map(e => "https://" + e)) //vsco urls are stored without the "https://", hence this
	.then(mediaURLS => vscoSession.downloadAll(mediaURLS, filePath))
```

### Download And Zip Entire Gallery
``` javascript
const username = "david"
const limit = 1000 //how many photos/videos it will download
const filePath = "./yeet/lmao" //optional (default: "./temp/[randomID]")
vscoSession.getMedia(username, limit)
	.catch(err => console.log(err))
	.then(media => media.map(e => "https://" + e)) //vsco urls are stored without the "https://", hence this
	.then(mediaURLS => vscoSession.downloadAndZipAll(mediaURLS, filePath))
```

---
_Source: https://npm.io/package/vsco-dl · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
