[BIG RELEASE] How you can can fetch YouTube captions (Never done before)

Meerakat

Jr. VIP
Jr. VIP
Joined
Sep 9, 2019
Messages
893
Reaction score
662
Sorry for the click-bait, you were probably like: "Even I can do that! There are several free services on the internet", but the question is, can they fix format the captions into a readable format, fix punctuation errors and spit out a readable content?

You may have spent over an hour transcribing the raw captions on your own to make a single blog post, but who is complaining? It's free. :)

Guess what? I have created an easy to use a script made in PHP that can -
  1. Fix punctuation.
  2. Split the captions into paragraphs.
  3. As long as the video supports caption, you can get captions in any language!
Which means you can quickly get content without having to do much hard work, make some manual changes & run it through Grammarly (free) to fix the remaining issues & then you can easily have free content in just 10 minutes.

Requirements:
  • PHP installation
  • Code editor (optional)
  • Knowledge on how to run PHP through command prompt (Search on YT)
Installation:

Download link: http://www.mediafire.com/file/iy4fpsm495yr518/main.zip/file
Virus scan: https://www.virustotal.com/gui/file/dae35f4ad4b96e4a51c9c58c1680681f3e45a6dd251d7716c51edf1a17dd8eb3/detection

Instructions:

1. Extract the zip to a folder of your choice.
2. Open up main.php & you'll see this line:

PHP:
$youtube_data = new caption('r8LeTJGQGF8', 'en');
The first parameter is the video's ID and the second one is the video's language. How can you find the video ID? It's pretty simple:

1598268839181.png

Once you are done replacing both of them, open command prompt and execute the command: "php main.php" (without quotes of-course) & then it will output done when the script completes transcribing. After that, you'll see a html file called "para.html", open it in your browser and BOOM the content will be there.

Please note that this will only work on videos that support captions!

Screenshot:

1598268795073.png

Easy right? Run the content through Grammarly and make manual changes, you then have a free content that can be used for your money site.

Can I make money off this?

Of course, you can:
  • Sell a service on Fiverr & its alternatives
  • Sell content off YouTube videos based on certain keywords
  • Create your own site that can fetch captions and format it using this script (some knowledge is required) & you can even put up ads on your site.
There are several things you can do, but it all depends on your own unique idea. :)

-Meerakat
 

darksoultrip

Regular Member
Joined
Mar 9, 2020
Messages
244
Reaction score
105
Tested it and worked great for me. Thanks for taking the time to share your handy tool :cool:
 

Mercurial9

Newbie
Joined
Jul 16, 2019
Messages
12
Reaction score
3
any ideas on how to resolve this issue? I am running it on windows 10 using vs code:


PS E:\_Download\main> php main.php
PHP Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14

Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14
PHP Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14

Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14
done
 

Meerakat

Jr. VIP
Jr. VIP
Joined
Sep 9, 2019
Messages
893
Reaction score
662
any ideas on how to resolve this issue? I am running it on windows 10 using vs code:


PS E:\_Download\main> php main.php
PHP Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14

Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14
PHP Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14

Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14
done
Can you show me your main.php?
 

moneyguru2013

Senior Member
Joined
Mar 13, 2013
Messages
1,070
Reaction score
202
Website
free-dropshipping-course.weebly.com
any ideas on how to resolve this issue? I am running it on windows 10 using vs code:


PS E:\_Download\main> php main.php
PHP Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14

Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14
PHP Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14

Notice: Uninitialized string offset: 4 in E:\_Download\main\class.yt.php on line 14
done

Just upload it to a cpanel (you can use free hosting) and it will work.
 

mrtruehybrid

Jr. VIP
Jr. VIP
Joined
Aug 4, 2013
Messages
1,168
Reaction score
789
This is genius, thanks so much I've tried free caption sites before but the formatting was crap
 

Ranking Expert

Jr. VIP
Jr. VIP
Joined
Mar 26, 2019
Messages
275
Reaction score
95
looks like very useful, thanks op.
 

BHTony

Newbie
Joined
Oct 5, 2019
Messages
6
Reaction score
3
You can definitely use this to create your lead magnets and e-books for sure.

Thanks for sharing.
 

iupdpcvm

Regular Member
Joined
Mar 27, 2016
Messages
271
Reaction score
56
When I write the command in the cmd I get an error " 'php' is not recognized as an internal or external command,
operable program or batch file."
 

Meerakat

Jr. VIP
Jr. VIP
Joined
Sep 9, 2019
Messages
893
Reaction score
662
When I write the command in the cmd I get an error " 'php' is not recognized as an internal or external command,
operable program or batch file."
You haven't installed PHP correctly, you can use free hosting as a user mentioned above.
 
Top