Головні звуки українського ІТ. Вгадаєш всі? 👉

Ukrainian developer creates free open-source tool for collecting data from YouTube

Ukrainian Python developer Vasyl Smutok has developed and made available the ytscrape library, a lightweight open-source tool for parsing YouTube. The solution allows you to obtain subtitles, comments, and detailed metadata of videos and channels without using official API keys and without involving resource-intensive browsers.

2 comments
Ukrainian developer creates free open-source tool for collecting data from YouTube

Ukrainian Python developer Vasyl Smutok has developed and made available the ytscrape library, a lightweight open-source tool for parsing YouTube. The solution allows you to obtain subtitles, comments, and detailed metadata of videos and channels without using official API keys and without involving resource-intensive browsers.

How the idea came about

As Vasyl told on LinkedIn, the story of the project began with a practical task: he needed to implement in-depth analysis and create text summaries of YouTube videos. To do this, a short retelling was not enough - it required searching for specific information inside the videos, working with transcripts, analyzing comments, and collecting extended data about the channel itself.

While searching for ready-made tools, the developer faced three main limitations:

  1. The YouTube Data API has strict quota restrictions;

  2. most existing libraries only closed individual tasks (for example, subtitles separately or metadata separately);

  3. Some tools required running headless browsers (Playwright or Selenium), which significantly complicated and slowed down development.

Striving to create a lightweight, free, and as easy-to-integrate solution as possible, Vasyl Smutok wrote his own library, ytscrape. It works by loading the InnerTube context once and interacting with it through internal queries, without the need for complex environment configuration.

ytscrape features

The tool provides a full range of capabilities for collecting data from the platform:

  • quick navigation and collection of results by videos, channels and playlists;

  • extracting detailed information about videos and author pages;

  • parsing of comments and responses to videos;

  • receiving subtitles in a convenient format;

  • support for both synchronous and asynchronous API;

  • automatic pagination and parsing of responses into frozen data classes.

Currently, ytscrape is a personal pet project and experiment, created for the author's specific needs. However, the library is fully ready for use by other developers who need fast and free access to YouTube data.

You can check out the project on GitHub .

"Reread" 20 videos in 30 minutes: a Ukrainian created a bot for concise retelling of YouTube videos. How does YTSummarAI work?
"Reread" 20 videos in 30 minutes: a Ukrainian created a bot for concise retelling of YouTube videos. How does YTSummarAI work?
On the topic
"Reread" 20 videos in 30 minutes: a Ukrainian created a bot for concise retelling of YouTube videos. How does YTSummarAI work?
Aitivets created an interactive map of Ukrainian YouTube with 10,000 channels. He used AI and vibecoding
Aitivets created an interactive map of Ukrainian YouTube with 10,000 channels. He used AI and vibecoding
On the topic
Aitivets created an interactive map of Ukrainian YouTube with 10,000 channels. He used AI and vibecoding
Read the country's main IT news in our Telegram
Read the country's main IT news in our Telegram
On the topic
Read the country's main IT news in our Telegram
Also Read
Соціальні мережі та штучний інтелект формують глобальні наративи про війну в Україні. Як їх використовують українці та росіяни — аналітика від Foreign Policy
Соціальні мережі та штучний інтелект формують глобальні наративи про війну в Україні. Як їх використовують українці та росіяни — аналітика від Foreign Policy
Соціальні мережі та штучний інтелект формують глобальні наративи про війну в Україні. Як їх використовують українці та росіяни — аналітика від Foreign Policy
Напередодні вторгнення росії в Україну соціальні медіа слугували полем битви для держав і недержавних діячів, щоби поширювати конкуруючі наративи про війну та зображати поточний конфлікт у своїх власних інтересах. Видання Foreign Policy опублікувало великий аналітичний матеріал, як українці та росіяни використовують соціальні мережі, щоб давати інформацію про війну. Наводимо його адаптований переклад.
3 comments
У YouTube тепер будуть сторінки для подкастів. Це загроза для Apple та Spotify?
У YouTube тепер будуть сторінки для подкастів. Це загроза для Apple та Spotify?
У YouTube тепер будуть сторінки для подкастів. Це загроза для Apple та Spotify?
Засновниці Теронліфанс — у новому відео TSKC у п’ятницю
Засновниці Теронліфанс — у новому відео TSKC у п’ятницю
Засновниці Теронліфанс — у новому відео TSKC у п’ятницю
Підписуйтеся на наш канал, щоби нічого не пропустити.
На Херсонщині окупанти вимкнули YouTube і Viber
На Херсонщині окупанти вимкнули YouTube і Viber
На Херсонщині окупанти вимкнули YouTube і Viber

Have important news to share? Message our Telegram bot

Key events and useful links in our Telegram channel

Discussion
Ihor Mykhalchenko
Confirmed verification
Ihor Mykhalchenko ThetaRay, Tech Leader
0

Масове автоматизоване збирання інформації (субтитрів, коментарів, метаданих) без використання офіційного YouTube API заборонено Умовами використання. Чи ви думаєте, платний API то для лохів?

0

Так.