pinterest automatic upload
This script is not maintained anymore. If you want to make some corrections concerning the input of images/videos and the selection of the Pinboard, I can integrate them into the script.
Version 1.1:
Version 1.0:
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.
git clone https://github.com/maximedrn/pinterest-automatic-uploader.git
pip install -r requirements.txt
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/'
assets/email.txt
file, and then write your Pinterest email;assets/password.txt
file, and then write your Pinterest password..exe
to something else."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.
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" |