From 3f041a851f827e891009d426eafaac6d5d6d5fe1 Mon Sep 17 00:00:00 2001 From: 4_pr0n <4pr0n@users.noreply.github.com> Date: Fri, 27 Jun 2014 00:16:54 -0700 Subject: [PATCH] Updated How To Create A Ripper for HTML websites (markdown) --- How-To-Create-A-Ripper-for-HTML-websites.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/How-To-Create-A-Ripper-for-HTML-websites.md b/How-To-Create-A-Ripper-for-HTML-websites.md index 1b06c3b..7ce5772 100644 --- a/How-To-Create-A-Ripper-for-HTML-websites.md +++ b/How-To-Create-A-Ripper-for-HTML-websites.md @@ -159,7 +159,7 @@ Input: `URL`: One of the URLs returned by `getURLsFromPage()` Input: `index`: The *number* for this URL (whether it's the 1st image, 2nd image, etc). This is where your ripper *downloads* the image/file. -Most rippers simply use the `AlbumRipper`'s method: +Most rippers simply use the `AlbumRipper`'s method `addURLToDownload()`: ```java @Override public void downloadURL(URL url, int index) { @@ -167,7 +167,7 @@ Most rippers simply use the `AlbumRipper`'s method: } ``` -The above will download the URL to the appropriate save directory, guessing the filename to save based on the `url` and the `index`. +The above will download the URL to the appropriate save directory, guessing the filename to save based on the `url` and a given prefix (`index`). The `addURLToDownload()` method is *heavily* overloaded with lots of options. Variants of this method allow you to: