Skip to content

Commit

Permalink
Update TV client in YouTubeVideoUrl
Browse files Browse the repository at this point in the history
force-test skip-release
  • Loading branch information
Taapat authored Feb 1, 2025
1 parent 9cc86de commit 3c51777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/YouTubeVideoUrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ def _extract_player_response(self, video_id, yt_auth, client):
}
headers['X-Goog-Visitor-Id'] = self._extract_visitor_id(video_id) or ''
elif client == 7:
VERSION = '7.20250120.19.00'
USER_AGENT = 'Mozilla/5.0 (ChromiumStylePlatform) Cobalt/Version'
VERSION = '7.20250129.15.00'
USER_AGENT = 'Mozilla/5.0 (ChromiumStylePlatform) Cobalt/Version,gzip(gfe)'
CLIENT_CONTEXT = {'clientName': 'TVHTML5'}
headers['X-Goog-Visitor-Id'] = self._extract_visitor_id(video_id) or ''
elif client == 56:
Expand Down

0 comments on commit 3c51777

Please sign in to comment.