No longer writes url to url_history file is save urls only is checked
This commit is contained in:
parent
d58a80b5e6
commit
4f6884e58c
@ -67,6 +67,10 @@ public abstract class AbstractRipper
|
||||
* @param downloadedURL URL to check if downloaded
|
||||
*/
|
||||
private void writeDownloadedURL(String downloadedURL) throws IOException {
|
||||
// If "save urls only" is checked don't write to the url history file
|
||||
if (Utils.getConfigBoolean("urls_only.save", false)) {
|
||||
return;
|
||||
}
|
||||
downloadedURL = normalizeUrl(downloadedURL);
|
||||
BufferedWriter bw = null;
|
||||
FileWriter fw = null;
|
||||
|
Loading…
Reference in New Issue
Block a user