Giter Club home page Giter Club logo

pinterest-automatic-upload's Introduction

Automatically upload as many Pins as you want to Pinterest.

The upload limit on Pinterest is about 150 pins in a row. You can do multiple upload sessions in a day but risk having your account suspended.

Version 1.1 - December 27, 2021
This script is not maintained anymore for free.

Pinterest Pinbuilder

2022-11-19.15-06-08.3.mp4

With this tool, you can automatically upload your Pins to Pinterest. This tool has an elegant graphical interface and is very easy to use.

All you have to do is create a file with all the necessary information for each of your Pins. You can choose your Pinboard, add a title, a description, an alt text, a link to an external website and schedule your Pins (only if you have a business account). Finally, all you have to do is select this file and start the process. The tool will do everything for you automatically.

Table of contents:

Changelog:

  • Version 1.1:

    • Pinboard issue fixed.
    • Description issue fixed.
    • Minor bugs fixed.
  • Version 1.0:

    • Inital commit.

What does this bot do?

This script allows you to upload as many Pins (150 in a row) as you want to Pinterest, all automatically and quickly (about 4 Pins per minute).
The upload limit on Pinterest is about 150 pins in a row. You can do multiple upload sessions in a day but risk having your account suspended.

Instructions:

Basic installation of Python for beginners:

  • Download this repository or clone it:
git clone https://github.com/maximedrn/pinterest-automatic-uploader.git
  • It requires Python 3.7 or a newest version.
  • Install pip to be able to have needed Python modules.
  • Open a command prompt in repository folder and type:
pip install -r requirements.txt

Configuration of bot:

  • Download and install Google Chrome.

  • Download the ChromeDriver executable that is compatible with the actual version of your Google Chrome browser and your OS (Operating System). Refer to: What version of Google Chrome do I have?

  • Extract the executable from the ZIP file and copy/paste it in the assets/ folder of the repository. You may need to change the path of the file:

    class Pinterest:
        """Main class of the Pinterest uploader."""
    
        def __init__(self, email: str, password: str) -> None:
            """Set path of used file and start webdriver."""
            self.email = email  # Pinterest email.
            self.password = password  # Pinterest password.
            self.webdriver_path = os.path.abspath('assets/chromedriver.exe')  # Edit this line with your path.
            self.driver = self.webdriver()  # Start new webdriver.
            self.login_url = 'https://www.pinterest.com/login/'
            self.upload_url = 'https://www.pinterest.com/pin-builder/'
  • Optional: the email and the password are asked when you run the bot, but you can:

    • create and open the assets/email.txt file, and then write your Pinterest email;
    • create and open the assets/password.txt file, and then write your Pinterest password.
  • Create your Pins data file containing all details of each Pin. It can be a JSON or CSV file. Save it in the data folder.
    What structure should the files have?

Known issues:

  • If you are using a Linux distribution or MacOS, you may need to change some parts of the code:
    • ChromeDriver extension may need to be changed from .exe to something else.
  • If you use a JSON file for your Pins data, the file path should not contain a unique "\". It can be a "/" or a "\\":
  "file_path": "C:/Users/Admin/Desktop/Pinterest/image.png",
  // or:
  "file_path": "C:\\Users\\Admin\\Desktop\\Pinterest\\image.png",
  // but not:
  "file_path": "C:\Users\Admin\Desktop\Pinterest\image.png", // You can see that "\" is highlighted in red.
  • Data files structure:

    • required value *

    Settings Types Examples
    Pinboard * String
    File Path * String
    Title * String (maximum 100 characters).
    Description String (maximum 500 characters).
    Alt text String (maximum 500 characters).
    Link String
    Date String (Maximum 14 days later)
    (Format: DD/MM/YYYY HH:MM).
    "01/01/2022 12:00" or "01/01/2022 15:30"

You should have something like this: JSON, CSV.

pinterest-automatic-upload's People

Contributors

maximedrn 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.