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

Meerakat

Elite Member
Joined
Sep 9, 2019
Messages
1,505
Reaction score
1,695
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...81f3e45a6dd251d7716c51edf1a17dd8eb3/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
 
Nice one.

This can be twisted in so many ways.
Translate it to other language or simply use it for parasites/tier1/2.
 
How do i use this script? Do i upload to Cpanel on my website? Maybe you need to so a little Youtube Tutorial.
 
Thanks, it worked for me! That is the beauty about automation. Now if you could only attach an api option to use free gramarly or any other free grammar software.
 
Last edited:
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
 
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?
 
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.
 
This is genius, thanks so much I've tried free caption sites before but the formatting was crap
 
You can definitely use this to create your lead magnets and e-books for sure.

Thanks for sharing.
 
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."
 
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.
 
Back
Top