switched to yaml.safe_load, silly brainfart for using load in the first place
small refactor of the searching, removed the use of urllib