Coder Social home page Coder Social logo

pinterestvideodownloader's Introduction

Pinterest Video Downloader

This is a simple Python script developed by Harshit to download videos from Pinterest.

The script makes use of popular Python libraries including requests, BeautifulSoup, tqdm, re, and datetime. It downloads video content from Pinterest by parsing the HTML content and identifying the source of the video.

Dependencies

To run this script, you'll need the following Python libraries:

  • requests
  • BeautifulSoup
  • tqdm
  • re
  • datetime

You can install these libraries using pip:

pip install requests beautifulsoup4 tqdm

Note: re and datetime are both standard libraries in Python, so you don't need to install them.

How to use

To use this script:

  1. Make sure you have all dependencies installed.
  2. Run the script using python command in terminal:
    python main.py
  3. Enter the Pinterest page URL when prompted.

The script will validate the URL and extract the video source. It will then download the video as an MP4 file, with the current date and time as part of the filename.

Limitations

This script is designed to work with Pinterest's specific HTML structure as of the time of its creation. If Pinterest changes their website structure, the script may not work as expected.

Additionally, the script currently only supports direct Pinterest URLs or "pin.it" short URLs. Other URL structures may not work.

License

This script is provided as-is under the MIT license. Feel free to modify and distribute, but please maintain original attribution to the creator.

pinterestvideodownloader's People

Contributors

uxharshit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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