[PR #62] [MERGED] Feat/batch yt data #129

Closed
opened 2026-03-04 00:04:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/YouG-o/YouTube-No-Translation/pull/62
Author: @YouG-o
Created: 7/15/2025
Status: Merged
Merged: 7/15/2025
Merged by: @YouG-o

Base: mainHead: feat/batchYTData


📝 Commits (6)

  • ebe5c2e feat: use YouTube Data API v3 batch requests as primary title source for browsing videos
  • e9fe4f9 feat: add batch fetching for video descriptions (on searchpage) using YouTube Data API v3
  • a667f7e refactor: process individual title fetches in parallelinstead of sequential for refreshBrowsingVideos
  • a2b7477 CHANGELOG update
  • 8d819a2 doc update
  • e84372a feat: add isYouTubeDataAPIEnabled utility and apply it for all YouTube Data

📊 Changes

6 files changed (+264 additions, -97 deletions)

View changed files

📝 CHANGELOG.md (+4 -0)
📝 docs/YT_DATA_API.md (+2 -3)
📝 src/content/description/searchDescriptions.ts (+123 -27)
📝 src/content/observers.ts (+3 -2)
📝 src/content/titles/browsingTitles.ts (+117 -65)
📝 src/utils/utils.ts (+15 -0)

📄 Description

Added batch fetching if yt data api feature is enabled, allowing to fetch all video (up to 50) in one request. Making updating faster and request consumption / 50. (Browsing titles & Search results descriptions


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/YouG-o/YouTube-No-Translation/pull/62 **Author:** [@YouG-o](https://github.com/YouG-o) **Created:** 7/15/2025 **Status:** ✅ Merged **Merged:** 7/15/2025 **Merged by:** [@YouG-o](https://github.com/YouG-o) **Base:** `main` ← **Head:** `feat/batchYTData` --- ### 📝 Commits (6) - [`ebe5c2e`](https://github.com/YouG-o/YouTube-No-Translation/commit/ebe5c2e7e8b7a023ce0e23dfcf04acfa0dc45496) feat: use YouTube Data API v3 batch requests as primary title source for browsing videos - [`e9fe4f9`](https://github.com/YouG-o/YouTube-No-Translation/commit/e9fe4f9d78d6ac0c1f0d3c8f9b6b6d10e29ea5f6) feat: add batch fetching for video descriptions (on searchpage) using YouTube Data API v3 - [`a667f7e`](https://github.com/YouG-o/YouTube-No-Translation/commit/a667f7e80d6ac4d004385355ef36f6cf62b9fb98) refactor: process individual title fetches in parallelinstead of sequential for refreshBrowsingVideos - [`a2b7477`](https://github.com/YouG-o/YouTube-No-Translation/commit/a2b7477ef2540b2bbad30014ad407dc0ac7297a6) CHANGELOG update - [`8d819a2`](https://github.com/YouG-o/YouTube-No-Translation/commit/8d819a200bfc8d92ffa9491798b8e3df70e99790) doc update - [`e84372a`](https://github.com/YouG-o/YouTube-No-Translation/commit/e84372a83e336a5ddd8fb2b0d39c629a319d2336) feat: add isYouTubeDataAPIEnabled utility and apply it for all YouTube Data ### 📊 Changes **6 files changed** (+264 additions, -97 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+4 -0) 📝 `docs/YT_DATA_API.md` (+2 -3) 📝 `src/content/description/searchDescriptions.ts` (+123 -27) 📝 `src/content/observers.ts` (+3 -2) 📝 `src/content/titles/browsingTitles.ts` (+117 -65) 📝 `src/utils/utils.ts` (+15 -0) </details> ### 📄 Description Added batch fetching if yt data api feature is enabled, allowing to fetch all video (up to 50) in one request. Making updating faster and request consumption / 50. (Browsing titles & Search results descriptions --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 00:04:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/YouTube-No-Translation#129
No description provided.