We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54ae581 commit a9df153Copy full SHA for a9df153
code/code_with_me/podcast/program.py
@@ -16,12 +16,9 @@ def show_header():
16
17
18
def display_results():
19
- # This is updated since the video recording.
20
- # We had to trim back the episode list, so I changed
21
- # this code to use the moving numbers from the RSS feed
22
- # as they change over time.
23
- start = service.get_min_show_id()
+ min_num = service.get_min_show_id()
24
end = service.get_latest_show_id()
+ start = max(min_num, end - 20)
25
26
for show_id in range(start, end):
27
info = service.get_episode(show_id)
0 commit comments