Splited Crawler into two files and created multiple methods for get_locale().