def get_html5_ids(html5_sources):
 html5_ids = [x.split('/')[(-1)].rsplit('.', 1)[0] for x in html5_sources]
 return html5_ids

def get_html5_ids ( html5_sources ) : html5_ids = [ x . split ( '/' ) [ ( - 1 ) ] . rsplit ( '.' , 1 ) [ 0 ] for x in html5_sources ] return html5_ids
helper method to parse out an html5 source into the ideas note: this assumes that / are not in the filename .