Python 3 Pinterest Video Post Downloader From URL Using Pinterest API Library in Terminal
2K views
Jun 3, 2025
Buy the full source code of application here:
View Video Transcript
0:00
uh hello guys uh welcome to this video
0:02
so in this video I will show you how to
0:04
make a Pinterest video downloader kind
0:06
of an application inside Python
0:08
pinterest as you can see it's a very
0:10
popular website for discovering content
0:13
and many times the download option is
0:15
not available so that's why I created
0:18
this Python script which will help you
0:20
downloading py Pinterest videos directly
0:22
inside your local machine so that you
0:24
can watch it offline so when you visit
0:28
Pinterest you just need to copy the
0:30
address here so just open the video and
0:34
then open this copy this URL of the
0:37
video and uh simply paste this address
0:42
in this Python script that I developed
0:44
let me paste it and after that we create
0:47
basically run this Python script and you
0:50
will see on the left hand side it will
0:52
download this video and
0:54
uh you can see the MP4 video has been
0:57
successfully downloaded so this is
1:00
open-source module of Python which
1:03
communicates with the Pinterest API and
1:05
instantly your video will be downloaded
1:07
you can see that in MP4
1:09
format and you can do this unlimited
1:12
number of times so there is no such
1:14
restriction out there this module
1:16
actually doesn't put any restriction you
1:19
can do this unlimited number of time
1:22
let me paste another video URL once
1:25
again I run the
1:26
script you will now see the second video
1:29
will get downloaded you can see
1:34
that so you can see that now this is the
1:37
second
1:39
video so now let me show you the module
1:42
here it's uh I recently discovered this
1:45
so just visit this website and YTDLP so
1:49
this is the actual the command here
1:52
simply install this by executing this
1:54
command i've already installed it so
1:57
it's a very popular package so once you
1:59
install this create a simple app py file
2:03
and here you just need to import this
2:04
module so import ytlp and also the
2:08
operating system module after that here
2:11
you specify the actual video URL you
2:14
need
2:16
to download so simply copy the address
2:19
of the video and paste it after that we
2:22
specify in which location you want to
2:24
download the video so for this we will
2:26
create a
2:27
download/ videos folder downloaded/v
2:30
videos folder then the title and the
2:32
extension will come from the actual
2:35
video and then we need to create this
2:38
directory for this we call this function
2:41
operating system makes directories
2:44
after that we specify the options of
2:48
which video will be downloaded so it's a
2:50
simple JSON object which contains three
2:52
options first of all where you need to
2:54
download this video the second option
2:56
the format of the video so here we are
2:58
selecting the best audio and the best
3:00
video and the third option is the
3:03
extension of the video so it will be
3:04
there in the MP4 format and lastly we
3:08
just need to call the method to download
3:10
this video so we simply say yt
3:13
dlp so behind the scenes guys it is
3:16
communicating with
3:18
the Pinterest API to fetch the download
3:22
links but you don't need to specify any
3:25
API key so that's the advantage that I
3:29
took because generally APIs cost you
3:32
money but this you can do this
3:34
completely free no need to submit any
3:37
API key and you can do this unlimited
3:40
number of time so you can actually make
3:42
a web application where you can actually
3:45
make this Pinterest downloader kind of
3:47
an application you can see your video
3:49
has been
3:51
downloaded so in this way guys you can
3:54
use this module for downloading
3:56
Pinterest videos using their API
3:59
so thank you very much for watching this
4:02
video and also check out my website
4:05
freemediattools.com which contains
4:07
thousands of tools
#Photo & Video Sharing
#Video Sharing