Ejemplo n.º 1
0
        public TV(string URL)
        {
            SeriesName = StringExtractor.getBetween(URL, "<span itemprop=\"name\">", "</span>");

            Season = StringExtractor.getBetween(URL, "class=\"ep_season\" itemprop=\"partOfSeason\">Season ", "<");

            EpisodeNumber = StringExtractor.getBetween(URL, "<span class=\"ep_number\">Episode <span itemprop=\"number\">", "<");

            EpisodeName = StringExtractor.getBetween(URL, "<h2 class=\"ep_title\" itemprop=\"name\">", "<");
        }
Ejemplo n.º 2
0
        public IMDB(string URL)
        {
            Holder = StringExtractor.getBetween(URL, "<div class=\"titleParent\">", "</div>");

            SeriesName = StringExtractor.getBetween(Holder, "title=\"", "\" >");

            Holder = StringExtractor.getBetween(URL, "<div class=\"bp_heading\">", "div>");

            Season = StringExtractor.getBetween(Holder, "Season ", "<");

            EpisodeNumber = StringExtractor.getBetween(Holder, "Episode", "<");

            EpisodeName = StringExtractor.getBetween(URL, "<h1 itemprop=\"name\" class=\"\">", "&nbsp;");
        }
 public string SiteDetector(string URL)
 {
     return(StringExtractor.getBetween(URL, "www.", ".com"));
 }