1.0.58 - Logs are written to the album's subdirectory

Closes #61
This commit is contained in:
4pr0n 2014-06-07 18:03:40 -07:00
parent e88d00ddee
commit fe24620e47
43 changed files with 8 additions and 88 deletions

View File

@ -10,6 +10,7 @@ import java.util.List;
import java.util.Map;
import java.util.Observable;
import org.apache.log4j.FileAppender;
import org.apache.log4j.Logger;
import org.jsoup.HttpStatusException;
@ -68,6 +69,11 @@ public abstract class AbstractRipper
}
this.url = sanitizeURL(url);
setWorkingDir(url);
Logger rootLogger = Logger.getRootLogger();
FileAppender fa = (FileAppender) rootLogger.getAppender("FILE");
fa.setFile(this.workingDir + File.separator + "log.txt");
fa.activateOptions();
this.threadPool = new DownloadThreadPool();
}

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -18,7 +17,6 @@ public class ButttoucherRipper extends AlbumRipper {
private static final String DOMAIN = "butttoucher.com",
HOST = "butttoucher";
private static final Logger logger = Logger.getLogger(ButttoucherRipper.class);
private Document albumDoc = null;

View File

@ -8,7 +8,6 @@ import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -18,8 +17,6 @@ import com.rarchives.ripme.utils.Utils;
public class ChanRipper extends AlbumRipper {
private static final Logger logger = Logger.getLogger(ChanRipper.class);
public ChanRipper(URL url) throws IOException {
super(url);
}

View File

@ -11,7 +11,6 @@ import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Connection.Method;
import org.jsoup.Connection.Response;
import org.jsoup.Jsoup;
@ -30,7 +29,6 @@ public class DeviantartRipper extends AlbumRipper {
HOST = "deviantart";
private static final int SLEEP_TIME = 2000;
private static final Logger logger = Logger.getLogger(DeviantartRipper.class);
private Map<String,String> cookies = new HashMap<String,String>();

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -20,7 +19,6 @@ public class DrawcrowdRipper extends AlbumRipper {
private static final String DOMAIN = "drawcrowd.com",
HOST = "drawcrowd";
private static final Logger logger = Logger.getLogger(DrawcrowdRipper.class);
public DrawcrowdRipper(URL url) throws IOException {
super(url);
@ -42,7 +40,6 @@ public class DrawcrowdRipper extends AlbumRipper {
public String getGID(URL url) throws MalformedURLException {
Pattern p; Matcher m;
p = Pattern.compile("^.*drawcrowd.com/projects/.*$");
m = p.matcher(url.toExternalForm());
if (m.matches()) {

View File

@ -7,7 +7,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -25,7 +24,6 @@ public class EHentaiRipper extends AlbumRipper {
private static final int IP_BLOCK_SLEEP_TIME = 60 * 1000;
private static final String DOMAIN = "g.e-hentai.org", HOST = "e-hentai";
private static final Logger logger = Logger.getLogger(EHentaiRipper.class);
// Thread pool for finding direct image links from "image" pages (html)
private DownloadThreadPool ehentaiThreadPool = new DownloadThreadPool("ehentai");

View File

@ -7,7 +7,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Connection.Method;
import org.jsoup.Connection.Response;
import org.jsoup.Jsoup;
@ -22,7 +21,6 @@ public class EightmusesRipper extends AlbumRipper {
private static final String DOMAIN = "8muses.com",
HOST = "8muses";
private static final Logger logger = Logger.getLogger(EightmusesRipper.class);
private Document albumDoc = null;

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -18,7 +17,6 @@ public class FapprovedRipper extends AlbumRipper {
private static final String DOMAIN = "fapproved.com",
HOST = "fapproved";
private static final Logger logger = Logger.getLogger(FapprovedRipper.class);
public FapprovedRipper(URL url) throws IOException {
super(url);

View File

@ -10,7 +10,6 @@ import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Connection.Method;
import org.jsoup.Connection.Response;
import org.jsoup.Jsoup;
@ -27,7 +26,6 @@ public class FlickrRipper extends AlbumRipper {
private static final String DOMAIN = "flickr.com",
HOST = "flickr";
private static final Logger logger = Logger.getLogger(FlickrRipper.class);
private DownloadThreadPool flickrThreadPool;
private Document albumDoc = null;

View File

@ -8,10 +8,9 @@ import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Connection.Method;
import org.jsoup.Jsoup;
import org.jsoup.Connection.Response;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
@ -23,7 +22,6 @@ public class GifyoRipper extends AlbumRipper {
private static final String DOMAIN = "gifyo.com",
HOST = "gifyo";
private static final Logger logger = Logger.getLogger(GifyoRipper.class);
public GifyoRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.Jsoup;
@ -17,7 +16,6 @@ import com.rarchives.ripme.utils.Utils;
public class GonewildRipper extends AlbumRipper {
private static final String HOST = "gonewild";
private static final Logger logger = Logger.getLogger(GonewildRipper.class);
private static final int SLEEP_TIME = 1000;
private static String API_DOMAIN;

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -18,7 +17,6 @@ public class ImagearnRipper extends AlbumRipper {
private static final String DOMAIN = "imagearn.com",
HOST = "imagearn";
private static final Logger logger = Logger.getLogger(ImagearnRipper.class);
public ImagearnRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -19,7 +18,6 @@ public class ImagefapRipper extends AlbumRipper {
private static final String DOMAIN = "imagefap.com",
HOST = "imagefap";
private static final Logger logger = Logger.getLogger(ImagefapRipper.class);
private Document albumDoc = null;

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.Connection.Method;
@ -20,7 +19,6 @@ public class ImagestashRipper extends AlbumRipper {
private static final String DOMAIN = "imagestash.org",
HOST = "imagestash";
private static final Logger logger = Logger.getLogger(ImagestashRipper.class);
public ImagestashRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -20,7 +19,6 @@ public class ImgboxRipper extends AlbumRipper {
private static final String DOMAIN = "imgbox.com",
HOST = "imgbox";
private static final Logger logger = Logger.getLogger(ImgboxRipper.class);
public ImgboxRipper(URL url) throws IOException {
super(url);

View File

@ -9,7 +9,6 @@ import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
@ -26,7 +25,6 @@ public class ImgurRipper extends AlbumRipper {
private static final String DOMAIN = "imgur.com",
HOST = "imgur";
private static final Logger logger = Logger.getLogger(ImgurRipper.class);
private final int SLEEP_BETWEEN_ALBUMS;

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.Jsoup;
@ -20,7 +19,6 @@ public class InstagramRipper extends AlbumRipper {
private static final String DOMAIN = "instagram.com",
HOST = "instagram";
private static final Logger logger = Logger.getLogger(InstagramRipper.class);
public InstagramRipper(URL url) throws IOException {
super(url);

View File

@ -4,7 +4,6 @@ import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.Jsoup;
@ -21,8 +20,7 @@ public class IrarchivesRipper extends AlbumRipper {
private static final String DOMAIN = "i.rarchives.com",
HOST = "irarchives";
private static final Logger logger = Logger.getLogger(IrarchivesRipper.class);
public IrarchivesRipper(URL url) throws IOException {
super(url);
}

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -17,7 +16,6 @@ import com.rarchives.ripme.utils.Utils;
public class KinkyshareRipper extends AlbumRipper {
private static final String HOST = "kinkyshare";
private static final Logger logger = Logger.getLogger(KinkyshareRipper.class);
public KinkyshareRipper(URL url) throws IOException {
super(url);

View File

@ -13,7 +13,6 @@ import java.util.regex.Pattern;
import javax.swing.JOptionPane;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.Jsoup;
@ -28,7 +27,6 @@ public class MediacrushRipper extends AlbumRipper {
private static final String DOMAIN = "mediacru.sh",
HOST = "mediacrush";
private static final Logger logger = Logger.getLogger(MediacrushRipper.class);
/** Ordered list of preferred formats, sorted by preference (low-to-high) */
private static final Map<String, Integer> PREFERRED_FORMATS = new HashMap<String,Integer>();

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.Connection.Response;
@ -21,7 +20,6 @@ public class MinusRipper extends AlbumRipper {
private static final String DOMAIN = "minus.com",
HOST = "minus";
private static final Logger logger = Logger.getLogger(MinusRipper.class);
private Document albumDoc = null;

View File

@ -8,7 +8,6 @@ import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.Connection.Method;
@ -24,7 +23,6 @@ public class ModelmayhemRipper extends AlbumRipper {
private static final String DOMAIN = "modelmayhem.com",
HOST = "modelmayhem";
private static final Logger logger = Logger.getLogger(ModelmayhemRipper.class);
public ModelmayhemRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -19,7 +18,6 @@ public class MotherlessRipper extends AlbumRipper {
private static final String DOMAIN = "motherless.com",
HOST = "motherless";
private static final Logger logger = Logger.getLogger(MotherlessRipper.class);
private DownloadThreadPool motherlessThreadPool;

View File

@ -8,7 +8,6 @@ import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -23,7 +22,6 @@ public class NfsfwRipper extends AlbumRipper {
private static final String DOMAIN = "nfsfw.com",
HOST = "nfsfw";
private static final Logger logger = Logger.getLogger(NfsfwRipper.class);
private Document albumDoc = null;

View File

@ -8,7 +8,6 @@ import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.Connection.Response;
@ -23,7 +22,6 @@ public class PhotobucketRipper extends AlbumRipper {
private static final String DOMAIN = "photobucket.com",
HOST = "photobucket";
private static final Logger logger = Logger.getLogger(PhotobucketRipper.class);
private Response pageResponse = null;

View File

@ -8,7 +8,6 @@ import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.json.JSONTokener;
@ -28,7 +27,6 @@ public class RedditRipper extends AlbumRipper {
private static final String HOST = "reddit";
private static final String DOMAIN = "reddit.com";
private static final Logger logger = Logger.getLogger(RedditRipper.class);
private static final int SLEEP_TIME = 2000;
//private static final String USER_AGENT = "ripme by /u/4_pr0n github.com/4pr0n/ripme";

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONObject;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
@ -19,7 +18,6 @@ public class SeeniveRipper extends AlbumRipper {
private static final String DOMAIN = "seenive.com",
HOST = "seenive";
private static final Logger logger = Logger.getLogger(SeeniveRipper.class);
private DownloadThreadPool seeniveThreadPool;

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -18,7 +17,6 @@ public class SmuttyRipper extends AlbumRipper {
private static final String DOMAIN = "smutty.com",
HOST = "smutty";
private static final Logger logger = Logger.getLogger(SmuttyRipper.class);
public SmuttyRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.HttpStatusException;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
@ -20,7 +19,6 @@ public class SupertangasRipper extends AlbumRipper {
private static final String DOMAIN = "supertangas.com",
HOST = "supertangas";
private static final Logger logger = Logger.getLogger(SupertangasRipper.class);
public SupertangasRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -19,7 +18,6 @@ public class TeenplanetRipper extends AlbumRipper {
private static final String DOMAIN = "teenplanet.org",
HOST = "teenplanet";
private static final Logger logger = Logger.getLogger(TeenplanetRipper.class);
private Document albumDoc = null;

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.Jsoup;
@ -19,7 +18,6 @@ public class TumblrRipper extends AlbumRipper {
private static final String DOMAIN = "tumblr.com",
HOST = "tumblr";
private static final Logger logger = Logger.getLogger(TumblrRipper.class);
private enum ALBUM_TYPE {
SUBDOMAIN,

View File

@ -8,7 +8,6 @@ import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
@ -23,7 +22,6 @@ public class TwitterRipper extends AlbumRipper {
private static final String DOMAIN = "twitter.com",
HOST = "twitter";
private static final Logger logger = Logger.getLogger(TwitterRipper.class);
private static final int MAX_REQUESTS = Utils.getConfigInteger("twitter.max_requests", 10);
private static final int WAIT_TIME = 2000;

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
@ -19,7 +18,6 @@ public class VidbleRipper extends AlbumRipper {
private static final String DOMAIN = "vidble.com",
HOST = "vidble";
private static final Logger logger = Logger.getLogger(VidbleRipper.class);
private Document albumDoc = null;

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.HttpStatusException;
@ -20,7 +19,6 @@ public class VineRipper extends AlbumRipper {
private static final String DOMAIN = "vine.co",
HOST = "vine";
private static final Logger logger = Logger.getLogger(VineRipper.class);
public VineRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.HttpStatusException;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
@ -18,7 +17,6 @@ public class VineboxRipper extends AlbumRipper {
private static final String DOMAIN = "vinebox.co",
HOST = "vinebox";
private static final Logger logger = Logger.getLogger(VineboxRipper.class);
public VineboxRipper(URL url) throws IOException {
super(url);

View File

@ -11,7 +11,6 @@ import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.Jsoup;
@ -25,7 +24,6 @@ public class VkRipper extends AlbumRipper {
private static final String DOMAIN = "vk.com",
HOST = "vk";
private static final Logger logger = Logger.getLogger(SeeniveRipper.class);
public VkRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -18,7 +17,6 @@ public class XhamsterRipper extends AlbumRipper {
private static final String DOMAIN = "xhamster.com",
HOST = "xhamster";
private static final Logger logger = Logger.getLogger(XhamsterRipper.class);
public XhamsterRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONException;
import org.json.JSONObject;
import org.jsoup.Jsoup;
@ -17,7 +16,6 @@ import com.rarchives.ripme.ripper.VideoRipper;
public class BeegRipper extends VideoRipper {
private static final String HOST = "beeg";
private static final Logger logger = Logger.getLogger(BeegRipper.class);
public BeegRipper(URL url) throws IOException {
super(url);

View File

@ -7,7 +7,6 @@ import java.net.URLDecoder;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.json.JSONException;
import org.json.JSONObject;
import org.jsoup.Jsoup;
@ -19,7 +18,6 @@ import com.rarchives.ripme.utils.AES;
public class PornhubRipper extends VideoRipper {
private static final String HOST = "pornhub";
private static final Logger logger = Logger.getLogger(PornhubRipper.class);
public PornhubRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
@ -16,7 +15,6 @@ import com.rarchives.ripme.ripper.VideoRipper;
public class VineRipper extends VideoRipper {
private static final String HOST = "vine";
private static final Logger logger = Logger.getLogger(VineRipper.class);
public VineRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
@ -15,7 +14,6 @@ import com.rarchives.ripme.ripper.VideoRipper;
public class VkRipper extends VideoRipper {
private static final String HOST = "vk";
private static final Logger logger = Logger.getLogger(VkRipper.class);
public VkRipper(URL url) throws IOException {
super(url);

View File

@ -7,7 +7,6 @@ import java.net.URLDecoder;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -18,7 +17,6 @@ import com.rarchives.ripme.ripper.VideoRipper;
public class XvideosRipper extends VideoRipper {
private static final String HOST = "xvideos";
private static final Logger logger = Logger.getLogger(XvideosRipper.class);
public XvideosRipper(URL url) throws IOException {
super(url);

View File

@ -6,7 +6,6 @@ import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
@ -17,7 +16,6 @@ import com.rarchives.ripme.ripper.VideoRipper;
public class YoupornRipper extends VideoRipper {
private static final String HOST = "youporn";
private static final Logger logger = Logger.getLogger(YoupornRipper.class);
public YoupornRipper(URL url) throws IOException {
super(url);