
videocam_off
This livestream is currently offline
Check back later when the stream goes live
Build a PHP Reddit Post Image & Video Downloader in Browser Using Reddit API in HTML5 & Javascript
Jan 9, 2025
Buy the full source code of the application here:
https://procodestore.com/index.php/product/build-a-php-reddit-post-image-video-downloader-in-browser-using-reddit-api-in-html5-javascript/
Hi Join the official discord server to resolve doubts here:
https://discord.gg/cRnjhk6nzW
Visit my Online Free Media Tool Website
https://freemediatools.com/
Buy Premium Scripts and Apps Here:
https://procodestore.com/
Show More Show Less View Video Transcript
0:00
uh hello guys welcome to this video so
0:02
in this video I will basically talk
0:04
about a application that I developed
0:06
inside PHP which allows you to actually
0:09
download videos images gifts from
0:12
reddit.com reddit.com is the front page
0:15
of the internet and it's a very popular
0:17
book social book Park website where
0:19
people share videos images and this is
0:23
uh you can basically this is the actual
0:25
application that I developed inside PHP
0:26
it Trends in the browser and PHP as you
0:29
all know it's a server side language and
0:32
you can see this is here you need to
0:33
paste your link of your Reddit image or
0:36
video so let's suppose if I want to
0:38
download this video so what I will do is
0:41
that I will simply copy the link of this
0:42
video Simply copy this it's a GI file
0:45
that you can see right here it's not a
0:47
video it's a GI file so what I will do
0:49
is that I will simply paste this link
0:50
click on download So once it is start
0:53
downloading it basically fetching the
0:55
link of the gif file right here so in
0:57
various qualities you will see that uh
1:00
it has
1:01
720p 240p 360p 240p so you can download
1:06
them as mp4 file so you will see that
1:09
the full link of the video will be there
1:10
fetched and you can simply download this
1:13
video file like this click on download
1:16
and now you can see that your GI file
1:19
your video file has successfully
1:21
downloaded and now you can play this
1:23
file inside the video player locally
1:25
inside your machine so in this way you
1:28
can uh fetch any post you can it's a
1:32
Reddit post downloader that I made
1:34
inside PHP HTML and uh JavaScript and
1:38
you can see that it can also download
1:41
images it's a simple image so you can
1:44
see that click on download so it will
1:47
actually uh download the image so it's a
1:50
JPG image you can simply right right
1:52
click save this image as inside your
1:54
computer as a PNG image jpg image so now
1:57
you can see that the post image is
1:59
successfully downloaded inside your
2:00
machine so in this way we are
2:02
interacting with the Reddit API guys so
2:05
this is actual Full Source Code of this
2:07
project if you are interested the link
2:09
is given in the description of the video
2:12
you can directly go to my website
2:14
procore.com and simply purchase the full
2:16
source code and the quality about this
2:19
project guys it doesn't require any API
2:21
key so you can do it unlimited number of
2:24
times so I just use a simple logic in
2:27
PHP to actually make a curl request to
2:30
actually web scrape the download links
2:32
of the Reddit API and it is showing it
2:36
so it's a PHP project if you are
2:37
interested the link is given you will be
2:39
getting a zip file from Google Drive
2:42
automatically whenever you make the
2:43
payment whenever your payment is done
2:45
you will be redirected to Google Drive
2:47
where you will actually get the zip file
2:49
and whenever you extract the zip file
2:51
this will be the actual directory
2:53
structure you will get you simply need
2:55
to run this index.php file you must have
2:58
some server to actually run the PHP code
3:01
so I just installed my exam control
3:03
panel so you can simply download this
3:05
software it's available for Windows Lin
3:07
Max it's a crossplatform web server
3:10
Apache web server so simply I started my
3:13
whenever I launched this program I start
3:15
my Apache web server it runs on my local
3:18
host at Port number so simply uh by
3:21
default if you are on Windows you will
3:25
be installing exam in the C directory go
3:28
to the C directory and you will have the
3:29
is exam directory go to the STD docs
3:32
folder and simply paste the zip file and
3:35
extract the link right here so the
3:38
folder name is Reddit downloader so how
3:41
to open this simply type Local Host SL
3:44
Reddit downloader so your application
3:47
will open in the browser and it is
3:49
running inside your locally inside
3:51
Apache web server if you need to deploy
3:54
this application let's suppose you have
3:55
purchased a domain name if you want to
3:57
deploy them into a hosting plan you can
4:00
simply drag drop your files inside your
4:02
C panel just deploy them and it's a very
4:05
simple
4:07
process in 10 seconds your application
4:09
will be deployed and simply the users
4:12
will come you can simply write some test
4:14
content to actually rank this website on
4:16
Google various Reddit downloaders are
4:18
already available you can put
4:21
advertisements from AdSense ISO and earn
4:24
a lot of advertisement Revenue as well
4:26
so users will come and they will be able
4:29
to download the Reddit images videos GI
4:32
files so simply need they need to copy
4:34
the link of the Reddit post as they
4:37
paste it right here inside your
4:43
application so they will simply paste it
4:45
and click on the download button so the
4:48
API will work in the background and it
4:50
will actually show the live preview of
4:52
the video inside various qualities if
4:54
you see uh we have 720 540 360 240 so
5:00
depending upon the quality you will see
5:02
that this video will be small because it
5:04
is in 240p then it will be larger
5:07
because this is in 360p so various
5:10
qualities of the videos you can download
5:11
it's a 540p video so you can see little
5:14
bit larger and this is a full HD video
5:17
which is 720p so it's a little bit
5:19
larger so it's a full HD video so
5:21
depending upon that you can download the
5:23
video inside your machine as the mp4
5:25
file so if you're interested guys the
5:27
link is given and it's actually coded
5:30
inside let me show you the code right
5:31
here so it is coded with the latest
5:34
version of PHP it will work with older
5:36
versions as well so it is compatible
5:38
with all the versions you will see this
5:40
is a main index.php file and we are
5:43
actually using this L it's a very lot of
5:46
code right here it's a full project it
5:48
also contains JavaScript code as well
5:50
you'll see we are using jQuery bootstrap
5:53
for The Styling purposes and it's a full
5:56
project you'll see that CSS code is also
5:58
there and and this is the actual PHP
6:01
code you will see that we are actually
6:03
fetching all the qualities of the videos
6:05
from reddit.com in various qualities
6:07
240p 360p 720p and with this script
6:12
which is we are giving to you so no API
6:15
key that you need to replace guys no
6:17
need to register any application inside
6:19
Reddit uh it's a fully unlimited number
6:21
of times you can download videos it runs
6:24
in the Local Host it runs in the hosting
6:26
platform no need to fetch any API Keys
6:29
it doesn't have any sort of restrictions
6:30
you can do it unlimited number of times
6:33
so you just need to deploy this
6:34
application simply user will come they
6:36
copy the link and they paste it and they
6:39
click on the download button so the
6:41
application will do its job they will
6:43
fetch the links they will show the live
6:45
preview of the video and the user will
6:47
be able to download the video in various
6:49
qualities depending upon whether they
6:50
want in 360 540p or 360p 540p 240p so
6:56
depending upon which quality the user
6:58
wants the video to be you can see that
7:02
the live preview of the video is shown
7:04
right here so it's a full PHP project
7:07
you will see this is a navigation if you
7:09
want to put your navigation right here
7:11
you can put your navigation inside this
7:14
file let's suppose I want to put a title
7:17
so we can see that here so in PHP you do
7:22
need to write Echo statement so whenever
7:24
you need to so we can put your site name
7:27
as coding fure so inside this navigation
7:30
I put this file as you can put your site
7:33
name accordingly if you refresh it your
7:35
site name will look something like this
7:37
coding seure you can replace it with
7:39
your own company name so with your own
7:41
domain name that you purchased so this
7:43
navigation. PHP is the file that you
7:45
want to edit so whenever you are
7:48
deploying this application online these
7:50
are the two PHP files which allows you
7:52
to actually download files from
7:54
reddit.com using their API so this is
7:57
your full application you will get guys
7:59
this this is for the production
8:01
production PHP and this is the static
8:04
PHP so all these files are there you
8:07
will see that guys if you are interested
8:10
the link is given you can directly
8:12
purchase it after that you will get a
8:14
zip file from Google Drive automatically
8:17
after the payment from Pro cod.com the
8:20
link is given in the description of the
8:21
video so it you can see it's also using
8:25
JavaScript code as well you're also
8:27
using J cury and bootstrap as well for
8:30
the styling purposes and custom CSS as
8:32
well so it's a very simple application
8:35
but yet powerful you if you go to Google
8:38
there are various Reddit downloaders are
8:40
also available simply go to Google and
8:42
if you type here Reddit downloader so
8:45
many websites are available you will see
8:46
on the first page of Google and you can
8:48
even buy the script and you can directly
8:51
rank on Google and you will get quality
8:54
traffic on your website so don't wait
8:58
for time you the the link is given you
9:00
can directly purchase it and uh once the
9:03
user fetch just submit the
9:05
link it will actually fetches
9:09
the video and the user can download the
9:13
video in various
9:16
quality so this is the
9:20
actual Reddit downloader guys that I
9:23
developed inside
9:26
PHP so if you are interested the link is
9:38
given
9:42
so you will just paste the link right
9:44
here download button is there it's very
9:47
simple user interface so the user will
9:49
find it very easy to actually submit the
9:51
link and uh actually download the file
9:55
and uh you can see all it descript
10:00
automatically uh the user just want to
10:03
submit the link and dynamically it will
10:05
fetch all the download links of the
10:07
video in various qualities 360p 720p
10:11
540p 240p it's mp4 file the download
10:15
links are given in a very systematic way
10:19
and uh the user can download So once
10:22
they click they will be redirected to
10:25
that video so you can just write here
10:29
click on download and you can download
10:32
this video locally inside your machine
10:34
so no need to visit third party websites
10:37
it's a very simple solution that I
10:39
developed inside PHP and it works
10:41
without any sort of API key that you
10:43
want to develop from d.com it
10:45
automatically does it unlimited number
10:48
of times it does uses the concept of web
10:50
scraping and we are actually using a
10:52
curl liest to actually communicate with
10:55
the Reddit API to fetch all these
10:56
download links that you seeing here when
10:59
ever you submit the URL it fetches the
11:01
download links of the video so thank you
11:03
very much guys for watching this video
11:06
if you are interested the link is given
11:07
in the description of the video you can
11:09
directly purchase the full source code
11:11
of this project and please hit that like
11:14
button subscribe the channel and I will
11:15
be seeing you in the next video
#File Sharing & Hosting
#Online Goodies
#Clip Art & Animated GIFs
#Photo & Video Sharing
#Photo & Image Sharing
#Video Sharing
