def main(): show_header() download_data() print("Working with total of {} episodes".format(get_latest_show_id())) display_results()
def main(): # SHOW THE HEADER show_header() # DOWNLOAD THE EPISODE DATA download_data() # GET LATEST SHOW ID latest_show_id = get_latest_show_id() print("Working with total of {} episodes".format(latest_show_id)) # DISPLAY RESULTS display_results()
def main(): show_header() download_data() # GET LATEST SHOW ID latest_show_id = get_latest_show_id() print("Working with total of {} episodes".format(latest_show_id)) end, start = display_results() for show_id in range(start, end): # GET EPISODE info = get_episode(show_id) print("{}. {}".format(info.show_id, info.title))
def main(): show_header() service.download_data('https://talkpython.fm/episodes/rss') latest_show_id, oldest_show_id = service.get_show_id_range() display_results(latest_show_id, oldest_show_id)