public async static Task<string> FilmToCountry(string idPage, DataFilm_HDPHim.Enum.Country country) { var html = await (Utils.HttpClientRequert(Common.UrlFilmQuocGia(idPage, country))); return GetData_HDPhim.Get_ListFilmToPage(html); }
public async static Task<string> FilmBo(string idPage, DataFilm_HDPHim.Enum.Catolog catolog = Enum.Catolog.none) { var html = await (Utils.HttpClientRequert(Common.UrlFilmBo(idPage, catolog))); return GetData_HDPhim.Get_ListFilmToPage(html); }
public async static Task<string> FilmToTheLoai(string idPage, DataFilm_HDPHim.Enum.Genre genre) { var html = await (Utils.HttpClientRequert(Common.UriFilmToGenre(idPage, genre))); return GetData_HDPhim.Get_ListFilmToPage(html); }
public async static Task<string> FilmLe(string idPage, DataFilm_HDPHim.Enum.Year year = Enum.Year.none) { var html = await (Utils.HttpClientRequert(Common.UrlFilmLe(idPage, year))); return GetData_HDPhim.Get_ListFilmToPage(html); }
public static string UrlFilmQuocGia(string id, DataFilm_HDPHim.Enum.Country country) { dicCountry = AddDicCountry(); return string.Format("http://www.phimmoi.net/{1}page-{0}.html", id, dicCountry.FirstOrDefault(t => t.Key == country).Value); }
public static string UrlFilmLe(string id, DataFilm_HDPHim.Enum.Year year = DataFilm_HDPHim.Enum.Year.none) { dicYear = AddDicYear(); return string.Format("http://www.phimmoi.net/{1}page-{0}.html", id, dicYear.FirstOrDefault(t => t.Key == year).Value); }
public static string UrlFilmBo(string id, DataFilm_HDPHim.Enum.Catolog catalog = DataFilm_HDPHim.Enum.Catolog.none) { dicCatolog = AddDicCatolog(); return string.Format("http://www.phimmoi.net/{1}page-{0}.html", id, dicCatolog.FirstOrDefault(t => t.Key == catalog).Value); }
public static string UriFilmToGenre(string id, DataFilm_HDPHim.Enum.Genre genre) { dicGenre = AddDicGenre(); return string.Format("http://www.phimmoi.net/{1}/page-{0}.html", id, dicGenre.FirstOrDefault(t => t.Key == genre).Value); }