mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-20 04:31:55 +02:00
Added entry for hasASAPRipping
@@ -191,10 +191,17 @@ The `addURLToDownload()` method is *heavily* overloaded with lots of options.
|
||||
Variants of this method allow you to:
|
||||
* Define the exact file name to save as,
|
||||
* The subdirectory to save to,
|
||||
* HTTP headers (such as cookies or referrers) that should be used while downloading the file
|
||||
* HTTP headers (such as cookies or referrers) that should be used while downloading the file,
|
||||
* Saving the file with the MIME type as it's extension
|
||||
|
||||
Other rippers, as mentioned before, start a separate Thread to retrieve the full-size image from the provided URL. Your implementation may vary.
|
||||
|
||||
#### Bool hasASAPRipping() // Optional!
|
||||
|
||||
If this function returns true then ripme does not call addURLToDownload and does not expect getURLsFromPage to return any urls. This is usful if you want to download images as you find them instead of waiting for getURLsFromPage to finish
|
||||
|
||||
For an example of a ripper which rips like this see the [8muses ripper](https://github.com/ripmeapp/ripme/blob/master/src/main/java/com/rarchives/ripme/ripper/rippers/EightmusesRipper.java)
|
||||
|
||||
### Step 6: Test!
|
||||
|
||||
RipMe **automatically detects new rippers** without any other code changes required.
|
||||
|
Reference in New Issue
Block a user