def parse_episode(a):
    """Collects data related to an episode"""
    d = {}
    html = get_html(ROOT + a.get('href'))
    d['rating'] = get_rating(html)
    d['episode-name'], d['date'] = get_name_date(html)
    season, d['episode-num'] = get_season_epi_num(html)
    return season, d
def parse_episode ( a ) : d = { } html = get_html ( ROOT + a . get ( 'href' ) ) d [ 'rating' ] = get_rating ( html ) d [ 'episode-name' ] , d [ 'date' ] = get_name_date ( html ) season , d [ 'episode-num' ] = get_season_epi_num ( html ) return season , d
Collects data related to an episode