public static IArticle getArticle(UrlWrapper url) {
        Site site = Site.resolve(url);
        switch (site) {
            case HABRAHABR: {
                return new HabrahabrArticle(url);
            }
            case WIKIPEDIA: {
                return new WikipediaArticle(url);
            }
            case HEAD_HUNTER: {
                return new HeadHunterArticle(url);
            }
            default: {
                return new CommonArticle(url);
            }
        }
    }