- Timestamp:
- 2006-03-28T11:35:50+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/DownloadJob.java
r10342 r11507 185 185 */ 186 186 public boolean addLink(String raw_url, int type) { 187 /// ystem.out.println("addLink("+url+", "+type+")");187 ///System.out.println("addLink("+url+", "+type+")"); 188 188 if(!encountered_urls.contains(raw_url)) { 189 189 // Add it to the urls we've seen. … … 256 256 } 257 257 } 258 259 260 258 261 259 262 // The user can choose to mirror all of the page requisites... … … 261 264 command = command + "-p "; 262 265 } 266 else{ //or only HTML page (ignore associated files e.g images, stylesheets) 267 command = command + "-A " + ".html,.htm,.shm,.shtml,.asp,.php,.cgi,*?*=* "; 268 } 263 269 264 270 // Download files from other hosts … … 282 288 } 283 289 // Run it 290 291 //System.out.println("***"+command); 284 292 try { 285 293 //DebugStream.println("Cmd: " + command); // don't print it out cos it may have the password in it … … 543 551 */ 544 552 public boolean hasSignalledStop() { 545 if(state == DownloadJob.STOPPED || state == DownloadJob.PAUSED ||553 if(state == DownloadJob.STOPPED || state == DownloadJob.PAUSED || 546 554 state == DownloadJob.COMPLETE) { 547 555 return true;
Note:
See TracChangeset
for help on using the changeset viewer.