[PR #831] Retry/Continue on failed search for updating playlist #760

Open
opened 2026-02-27 23:02:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigma67/ytmusicapi/pull/831
Author: @Taerear
Created: 11/15/2025
Status: 🔄 Open

Base: mainHead: main


📝 Commits (2)

  • 4e6b60e catch JSONDecodeError and retry since json.loads() cannot handle None by 403 response
  • 5e8a124 Merge pull request #1 from Taerear/retry-send-infinitly-on-JSONDecodeError

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 ytmusicapi/ytmusic.py (+5 -1)

📄 Description

Proposal of changes to retry send_request when YT returns 403 on searching for a song on a playlist.
Related discussion: https://github.com/sigma67/ytmusicapi/discussions/830


🔄 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/sigma67/ytmusicapi/pull/831 **Author:** [@Taerear](https://github.com/Taerear) **Created:** 11/15/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`4e6b60e`](https://github.com/sigma67/ytmusicapi/commit/4e6b60e50157813675758b3e567dad043db0274a) catch JSONDecodeError and retry since json.loads() cannot handle None by 403 response - [`5e8a124`](https://github.com/sigma67/ytmusicapi/commit/5e8a124c84701dc7f950469e58349187afea5e44) Merge pull request #1 from Taerear/retry-send-infinitly-on-JSONDecodeError ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `ytmusicapi/ytmusic.py` (+5 -1) </details> ### 📄 Description Proposal of changes to retry send_request when YT returns 403 on searching for a song on a playlist. Related discussion: https://github.com/sigma67/ytmusicapi/discussions/830 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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/ytmusicapi#760
No description provided.