better parsing for pirate bay queries