Merge pull request #632 from cyian-1756/saveUrlsOnlyFix
No longer writes url to url_history file is save urls only is checked
This commit is contained in:
commit
e9b2baa873
@ -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