Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 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);
 }
Esempio n. 5
0
 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);
 }
Esempio n. 6
0
 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);
 }
Esempio n. 7
0
 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);
 }
Esempio n. 8
0
 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);
 }