Coder Social home page Coder Social logo

tadpoles-scraper's Introduction

Tadpoles Scraper

Summary

A Node.js tool to batch download images and video from the Tadpoles app/website.

The Tadpoles website and app has several deficiencies which this tries to address:

  • No bulk download functionality
  • Media does not contain EXIF or metadata information on when it was taken

Comments that were posted with the photos are also saved. If a picture has a comment, you will see a similarly named txt file with it.

Supported Formats

  • PNG
  • JPEG
  • MP4
  • PDF

Any other file types will be ignored.

Config

There is an included config.json file which needs to be modified for use.

Config Name Description
username your Tadpoles account username
password your Tadpoles account password
login_type type of login *only email is supported
image_path local path to store the media (relative allowed)
file_pattern pattern for downloaded media

Valid replacement values for image_path

Value Description
%%child%% The name of the child the media is associated with
%%YYYY%% The 4 digit year the media was created
%%MM%% The 2 digit month the media was created
%%DD%% The 2 digit day the media was created

Valid replacement values for file_pattern

Value Description
%%child%% The name of the child the media is associated with
%%YYYY%% The 4 digit year the media was created
%%MM%% The 2 digit month the media was created
%%DD%% The 2 digit day the media was created
%%imgkey%% the unique image key assigned by Tadpoles (long)
%%keymd5%% Shortened MD5 summary of the Tadpoles image key

Usage

Requires Node.js v4+ as well as Python 2.7+ (3.x not supported). On Windows, VCBuild.exe will be required. If this is already installed and in the system path, you should be good. Otherwise, you can install the necessary files via npm in an administrative command prompt with

npm install -g windows-build-tools

Then, install the package dependencies

npm install -d

Run the scraper

node index.js

License

MIT

tadpoles-scraper's People

Contributors

chuckmac avatar dslovin avatar gdbarron-d avatar stevemerckel avatar

Stargazers

 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.