From 8bacaf7d596c9bcb7295bd5f7027a9a4da310032 Mon Sep 17 00:00:00 2001 From: garret Date: Wed, 6 Mar 2024 06:23:26 +0000 Subject: improve report-requesting message now links to the actual issue page and prints info useful for debugging --- yt_dlp_plugins/extractor/radiko.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'yt_dlp_plugins/extractor') diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index 69a63fc..4317ad0 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -449,7 +449,10 @@ class _RadikoBaseIE(InfoExtractor): region_mismatch = actual_region != station_region if region_mismatch: - self.report_warning(f"Region mismatch: Expected {station_region}, got {actual_region}. Coords: {coords}. Please report this by opening an issue on the yt-dlp-rajiko repo.",) + self.report_warning(f"Region mismatch: Expected {station_region}, got {actual_region}. Coords: {coords}.") + self.report_warning("Please report this at https://github.com/garret1317/yt-dlp-rajiko/issues") + self.report_warning(auth2.strip()) + self.report_warning(headers) token = { "X-Radiko-AreaId": actual_region, -- cgit v1.2.3-70-g09d2