Package com.rarchives.ripme.ripper.rippers

Examples of com.rarchives.ripme.ripper.rippers.XhamsterRipper


        List<URL> contentURLs = new ArrayList<URL>();
        contentURLs.add(new URL("http://xhamster.com/photos/gallery/1462237/alyssa_gadson.html"));
        contentURLs.add(new URL("http://xhamster.com/photos/gallery/2941201/tableau_d_039_art_ii.html"));
        for (URL url : contentURLs) {
            try {
                XhamsterRipper ripper = new XhamsterRipper(url);
                ripper.rip();
                assert(ripper.getWorkingDir().listFiles().length > 1);
                deleteDir(ripper.getWorkingDir());
            } catch (Exception e) {
                e.printStackTrace();
                fail("Error while ripping URL " + url + ": " + e.getMessage());
            }
        }
View Full Code Here

TOP

Related Classes of com.rarchives.ripme.ripper.rippers.XhamsterRipper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.