Пример #1
0
 public void ChangeCategoryList()
 {
     Videos = new List <VideoListAdminDTO>();
     if (SwitchWebsite == 1)
     {
         SpiderRep.GetXhamsterVideos(Videos, SelectedWebCategory);
     }
     else if (SwitchWebsite == 0)
     {
         SpiderRep.GetRedTubeVideos(Videos, SelectedWebCategory);
     }
     else if (SwitchWebsite == 2)
     {
         SpiderRep.GetDrTuberVideos(Videos, SelectedWebCategory);
     }
     else if (SwitchWebsite == 3)
     {
         SpiderRep.GetPornHubVideos(Videos, SelectedWebCategory);
     }
 }
Пример #2
0
 public void SwitchToDrTuber()
 {
     SwitchWebsite = 2;
     Videos        = new List <VideoListAdminDTO>();
     SpiderRep.GetDrTuberVideos(Videos, SelectedWebCategory);
 }