How to extract video content - YouTube example
Full demonstration of how to use Python to download videos and then EXTRACT TEXT from them using pytesseract and crop the saved images using Pillow (PIL).
As an aside I also show you you could get the text/transcript if that is what you need - although the transcript is also auto generated and not 100% accurate either.
How to scrape videos (content) - from YouTube*
* could be from any video/website
OCR and Image manipulation with Tesseract and Pillow
(Python-tesseract is an optical character recognition (OCR) tool for python).
What this video covers:
⭕ How to download a video with Python - using youtube-dl
⭕ Extract TEXT from video
⭕ Extract images from video
Using the following :
-Use pip install youtube_dl to get video
-Use Tesseract to get TEXT
-Use Pillow to crop images
--- chapter timings ---
00:00 Intro
01:33 youtube dl
06:24 downloading a video
14:00 processing the video
22:17 looking at the trimmed image files
23:10 looking at the text output
👍 Become a patron 👍
🌏 [ Ссылка ]
Buy Dr Pi a coffee (or Tea)
☕ [ Ссылка ]
Visit redandgreen blog for more Tutorials
=========================================
🌏 [ Ссылка ]
Subscribe to the YouTube Channel
=================================
🌏 [ Ссылка ]
Follow on Twitter - to get notified of new videos
=================================================
🌏 [ Ссылка ]
Proxies
=================================================
If you need a good, easy to use proxy, I was recommended this one, and having used ScraperAPI for a while I can vouch for them. If you were going to sign up anyway, then maybe you would be kind enough to use the link and the coupon code below?
You can also do a full working trial first as well, (unlike some other companies). The trial doesn't ask for any payment details either so all good! 👍
🌏 10% off ScraperAPI : [ Ссылка ]
◼️ Coupon Code: DRPI10
(You can also get started with 1000 free API calls. No credit card required.)
YouTube Video Download
YouTube Video Scraping
YouTube Video Text Extract
YouTube Image to Text
How to scrape video content
Thumbs up yeah? (cos Algos..)
#dataextraction #DownloadYouTubeVideos
#webscraping #videos #python
![](https://s2.save4k.ru/pic/s89cQcN7s5g/maxresdefault.jpg)