Changeset 7669


Ignore:
Timestamp:
2004-06-30T14:22:31+12:00 (20 years ago)
Author:
kjdon
Message:

removed the bit where the destination was removed from the url - don't use a destinationin thatway anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/DownloadJob.java

    r7658 r7669  
    285285        boolean ignore_for_robots = false;
    286286        while ((line = br.readLine()) != null && state != STOPPED) {
     287       
    287288        Gatherer.println(line);
    288289        download_log.appendLine(line);
     
    300301            // Add download
    301302            String new_url = line.substring(line.indexOf("`") + 1, line.lastIndexOf("'"));
    302             // Remove the destination guff
    303             if(destination != null) {
    304                 new_url = new_url.substring(destination.length());
    305             }
    306303            addDownload("http:/" + new_url);
    307304            }
     
    332329            String new_url =
    333330            line.substring(line.indexOf("`") + 1, line.lastIndexOf("'"));
    334             // For some strange reason this won't compile
    335             //   src/org/greenstone/gatherer/collection/DownloadJob.java:311: cannot resolve symbol
    336             //   symbol  : class CAKE 
    337             //   location: class org.greenstone.gatherer.collection.DownloadJob
    338             /* ***********************************************************
    339             CAKE CAKE CAKE CAKE I WANT CAKE GIVE ME CAKE NOW!!
    340             *********************************************************** */
    341             // Remove the destination guff
    342             if(destination != null) {
    343             new_url = new_url.substring(destination.length());
    344             }
    345331            addDownload("http:/" + new_url);
    346332            downloadWarning();
Note: See TracChangeset for help on using the changeset viewer.