aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins/extractor/radiko_protobufs.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp_plugins/extractor/radiko_protobufs.py')
-rwxr-xr-xyt_dlp_plugins/extractor/radiko_protobufs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp_plugins/extractor/radiko_protobufs.py b/yt_dlp_plugins/extractor/radiko_protobufs.py
index 2336f10..ff4531e 100755
--- a/yt_dlp_plugins/extractor/radiko_protobufs.py
+++ b/yt_dlp_plugins/extractor/radiko_protobufs.py
@@ -88,7 +88,7 @@ if protobug: # i suppose it works lmao
@protobug.message
class ListPodcastEpisodesRequest:
channel_id: protobug.String = protobug.field(1)
- dontknow: protobug.Int32 = protobug.field(2)
+ sort_by_latest: protobug.Bool = protobug.field(2)
page_length: protobug.Int32 = protobug.field(4)
cursor: protobug.String = protobug.field(5, default=None)
@@ -145,7 +145,7 @@ if protobug: # i suppose it works lmao
headers={'Authorization': f'Bearer {jwt}'},
data=ListPodcastEpisodesRequest(
channel_id=channel_id,
- dontknow=1,
+ sort_by_latest=True,
page_length=page_length,
cursor=cursor,
)