def parse_href(href):
url = urlparse(href)<EOL>path = url.path.split('<STR_LIT:/>')<EOL>collection_name = path[<NUM_LIT:1>]<EOL>id_ = path[<NUM_LIT:2>]<EOL>return collection_name, id_<EOL>
Parses an Analyze Re href into collection name and ID