Ejemplo n.º 1
0
        public void ProsCase(string url, string pass)
        {
            switch (typesite)
            {
            case SiteDetecter.TypeSite.Instagram:
                items = InstaPhotos.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.PicoFile:
                items = PicoFile.GetLinks(url, pass);
                break;

            case SiteDetecter.TypeSite.Xnxx:
                items = Xnxx.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.Dropbox:
                items = Dropbox.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.RGhost:
                items = RGhost.GetLinks(url);
                break;

            case SiteDetecter.TypeSite._30Nama:
                items = _30Nama.GetLinks(url);
                break;
            }

            PrintItems(items);
        }
Ejemplo n.º 2
0
        public static List <Item> GetList(string url, string pass, SiteDetecter.TypeSite typesite)
        {
            List <Item> items = new List <Item>();

            switch (typesite)
            {
            case SiteDetecter.TypeSite.Instagram:
                items = InstaPhotos.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.PicoFile:
                items = PicoFile.GetLinks(url, pass);
                break;

            case SiteDetecter.TypeSite.Xnxx:
                items = Xnxx.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.Dropbox:
                items = Dropbox.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.RGhost:
                items = RGhost.GetLinks(url);
                break;

            case SiteDetecter.TypeSite._30Nama:
                items = _30Nama.GetLinks(url);
                break;
            }
            return(items);
        }