fix(sync): 403 InnerTube + WL manquant via fallbacks
- InnerTube 403: la YOUTUBE_API_KEY restreinte par referrer etait rejetee sans Referer envoye; ajout headers navigateur + repli cle publique du client web (probe live: 401 propre = transport OK) - Watch Later: repli lecture via InnerTube (browseId WL, sans ID) quand l'API Data ne renvoie pas d'ID; repli push via editPlaylist; note 'via' affichee dans l'UI; debug cles relatedPlaylists conserve
This commit is contained in:
@@ -64,7 +64,7 @@ export class OAuthImportService {
|
||||
}
|
||||
|
||||
/** Contenu "Regarder plus tard" YouTube (lecture seule OK). */
|
||||
watchLater(): Observable<{ items: Array<{ videoId: string; title: string; thumbnail?: string }>; count: number; writeGranted: boolean }> {
|
||||
watchLater(): Observable<{ items: Array<{ videoId: string; title: string; thumbnail?: string }>; count: number; writeGranted: boolean; via?: string; note?: string }> {
|
||||
return this.http.get<any>(`/api/oauth/google/watchlater`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user