aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins/extractor/radiko.py
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2024-03-06 06:23:26 +0000
committergarret <garret@airmail.cc>2024-03-06 06:56:53 +0000
commit8bacaf7d596c9bcb7295bd5f7027a9a4da310032 (patch)
tree7850044ed758b207fcbc2d5b8e25dac76a44f154 /yt_dlp_plugins/extractor/radiko.py
parent4e65874e621ab13fa8367c426aaf8231768eb20f (diff)
downloadyt-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
Diffstat (limited to 'yt_dlp_plugins/extractor/radiko.py')
-rw-r--r--yt_dlp_plugins/extractor/radiko.py5
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,