Code Monkey home page Code Monkey logo

vsco-dl's Introduction

vsco-dl

Download all of the images and videos from a VSCO user

๐Ÿ’พ Installation

# clone the repo
$ git clone https://github.com/sdushantha/vsco-dl.git

# or download the raw Python file
$ curl https://raw.githubusercontent.com/sdushantha/vsco-dl/master/vsco-dl.py --output vsco-dl.py

# install the requirements
$ pip3 install requests colorama

# run the program using Python 3
$ python3 vsco-dl.py ...

๐Ÿ”จ Usage

usage: vsco-dl.py [-h] [--content CONTENT] username pages

Download all of the images and videos from a VSCO user

positional arguments:
  username           Username of VSCO user
  pages              Number of pages the user has

optional arguments:
  -h, --help         show this help message and exit
  --content CONTENT  Option to download only videos (video) or photos (photo)

๐Ÿ“œ License

MIT License

Copyright (c) 2018 Siddharth Dushantha

vsco-dl's People

Contributors

boomaa23 avatar sdushantha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vsco-dl's Issues

JSONDecodeError: Extra data

Hi,

did vsco website change something? I can no longer get this script to work, I just get the following error, no matter which user or how many pages:

% vsco-dl.py ellingsenheidi 1
[+] Fetched data
Traceback (most recent call last):
File "/home/weird/bin/vsco-dl.py", line 66, in
main()
File "/home/weird/bin/vsco-dl.py", line 64, in main
download(username=args.username, html=html)
File "/home/weird/bin/vsco-dl.py", line 16, in download
array = json.loads(data).get("medias").get("byId")
File "/usr/local/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.6/json/decoder.py", line 342, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 144758 (char 144757)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.