Code Monkey home page Code Monkey logo

picasawebuploader's Introduction

picasawebuploader

A script that uploads photos to Google Photos / Google+ / Picasa Web Albums

  • Uploads all directories under a given directory
  • Restartable
  • Creates the albums as "protected"
  • Automatically retries when Google data service errors out.

To Do

  • Use multiple threads for uploading.
  • Deal with 'Error: 17 REJECTED_USER_LIMIT' errors.

Installation

Authentication

You need to use OAuth2 for authentication. Here is how to set it up:

  1. First create a project through the Google Developer Console: at https://console.developers.google.com/
  2. Under that project, create a new Client ID of type "Installed Application" under APIs & auth -> Credentials
  3. Once the Client ID has been created you should click "Download JSON" and save the file as $HOME/.config/picasawebuploader/client_secrets.json (you can change the location in main.py)

The first time you run the application you will be asked to authorize your application through your web browser. Once you do this you will get a code which you have to copy and paste into the application.

You're done.

Known Problems

Picasa Web Albums appears to have an undocumented upload quota system that limits uploads to a certain number of bytes per month.

Do a web search for REJECTED_USER_LIMIT to see the various discussions about this. From reading the web forums it appears that the upload quota is reset occasionally (possibly monthly). If you start getting REJECTED_USER_LIMIT errors when you run this script you may have to wait a month to upload new pictures.

Some people have reported that paying for yearly web storage will remove the upload quota.

picasawebuploader's People

Contributors

jackpal avatar plajjan avatar grandpaul avatar cpbotha avatar

Watchers

James Cloos 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.