Use keyword arguments to improve readability.
Add a test for the wrong input and improve the if statement for no content.
Add get_nodes_by_selector method.