aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins/extractor/radiko.py
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2023-09-08 13:35:34 +0100
committergarret <garret@airmail.cc>2023-09-08 13:35:34 +0100
commit5f52aa29e4e74a717f382134a03700c6dd5139cc (patch)
tree4b889305404b247d0d804b503f4afec684f2de3a /yt_dlp_plugins/extractor/radiko.py
parent90d2878f2352ccdf2d0ff8dc69347197454d9383 (diff)
downloadyt-dlp-rajiko-5f52aa29e4e74a717f382134a03700c6dd5139cc.tar.gz
yt-dlp-rajiko-5f52aa29e4e74a717f382134a03700c6dd5139cc.tar.bz2
yt-dlp-rajiko-5f52aa29e4e74a717f382134a03700c6dd5139cc.zip
add debug message for station not found
Diffstat (limited to 'yt_dlp_plugins/extractor/radiko.py')
-rwxr-xr-xyt_dlp_plugins/extractor/radiko.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py
index fe8d23e..7498a91 100755
--- a/yt_dlp_plugins/extractor/radiko.py
+++ b/yt_dlp_plugins/extractor/radiko.py
@@ -434,6 +434,7 @@ class _RadikoBaseIE(InfoExtractor):
def _get_station_region(self, station):
regions = self.cache.load("rajiko", "region_index")
if regions is None or station not in regions:
+ self.write_debug(f"station {station} not found, re-indexing in case it's new")
regions = self._index_regions()
return regions[station]