def get_series_items(iview_config, series_id):
	"""	This function fetches the series detail page for the selected series,
		which contain the items (i.e. the actual episodes).
	"""
	url = iview_config['api_url'] + 'series=%s' % series_id
	series_xml = fetch_url(url)
	return parser.parse_series_items(series_xml)
Beispiel #2
0
def get_series_items(series_id, get_meta=False):
	"""	This function fetches the series detail page for the selected series,
		which contain the items (i.e. the actual episodes).
	"""

	series_json = maybe_fetch(iview_config['api_url'] + 'series=%s' % series_id)
	return parser.parse_series_items(series_json, get_meta)