GithubHelp home page GithubHelp logo

hieuqtran / wikiart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lucasdavid/wikiart

0.0 2.0 0.0 23 KB

Full retriever for art and metadata in http://wikiart.org/

License: MIT License

Python 100.00%

wikiart's Introduction

Wikiart Retriever

Full retriever for art and metadata in http://wikiart.org/. Please read the LICENSE file in the base directory.

Usage

The command bellow will fetch and convert all data available at WikiArt into a "dataset-y" representation:

$ python3 wikiart.py # saves in ./wikiart-saved/
$ # Or...
$ python3 wikiart.py --datadir /datasets/wa  # saves in /datasets/wa/

If you had to stop the downloading process, for some reason, you can resume it by simply python3 wikiart.py --datadir ./output. The program wil scan --datadir and only download what's not there yet.

Additionally, you can only download or convert the data with python3 wikiart.py fetch and python3 wikiart.py convert, respectively.

For more information on the options available, run python wikiart.py --help.

If you install this project with python3 setup.py install, you will be able to use the wikiart command as an alias for python wikiart.py:

$ wikiart --datadir /datasets/wa

Download Paintings from Specific Artists

If you want the paintings of specific painters (instead of the entire wikiart), you could:

  1. Run the command python3 wikiart.py --datadir ./wikiart-saved/ fetch --only artists. This will download ./wikiart-saved/meta/artists.json, a small file containing a list of all painters in wikiart.
  2. Open ./wikiart-saved/meta/artists.json and remove the entries of the artists that you DO NOT wish to download.
  3. Run python3 wikiart.py --datadir ./wikiart-saved/ fetch. This will download the paintings from the artists that weren't removed from the list.

wikiart's People

Contributors

akshai9899 avatar phelma avatar

Watchers

James Cloos avatar Hieu Tran avatar

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.