diff options
author | garret <garret@airmail.cc> | 2024-03-06 06:23:26 +0000 |
---|---|---|
committer | garret <garret@airmail.cc> | 2024-03-06 06:56:53 +0000 |
commit | 8bacaf7d596c9bcb7295bd5f7027a9a4da310032 (patch) | |
tree | 7850044ed758b207fcbc2d5b8e25dac76a44f154 | |
parent | 4e65874e621ab13fa8367c426aaf8231768eb20f (diff) | |
download | yt-dlp-rajiko-8bacaf7d596c9bcb7295bd5f7027a9a4da310032.tar.gz yt-dlp-rajiko-8bacaf7d596c9bcb7295bd5f7027a9a4da310032.tar.bz2 yt-dlp-rajiko-8bacaf7d596c9bcb7295bd5f7027a9a4da310032.zip |
improve report-requesting message
now links to the actual issue page and prints info useful for debugging
-rw-r--r-- | yt_dlp_plugins/extractor/radiko.py | 5 |
1 files changed, 4 insertions, 1 deletions
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, |