diff options
Diffstat (limited to 'yt_dlp_plugins')
-rw-r--r-- | yt_dlp_plugins/extractor/radiko.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index a67a06f..b889151 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -413,7 +413,9 @@ class _RadikoBaseIE(InfoExtractor): # +/- 0 ~ 0.025 --> 0 ~ 1.5' -> +/- 0 ~ 2.77/2.13km lat = lat + random.random() / 40.0 * (random.choice([1, -1])) long = long + random.random() / 40.0 * (random.choice([1, -1])) - return f"{round(lat, 6)},{round(long, 6)},gps" + coords = f"{round(lat, 6)},{round(long, 6)},gps" + self.write_debug(coords) + return coords def _generate_random_info(self): version_key = random.choice(list(self._ANDROID_VERSIONS.keys())) |