Changeset 31823
- Timestamp:
- 2017-07-26T20:00:53+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/download/DownloadJob.java
r31820 r31823 1110 1110 // If line contains "/s) - `" set currently 1111 1111 // downloading url to "Download Complete". 1112 else if(line.lastIndexOf("/s) - `") != -1) { 1113 String current_file_downloading = line.substring(line.indexOf("`") + 1, line.lastIndexOf("'")); 1112 // Currently: on windows ` marks start quote of downloaded file, but on linux ' marks it 1113 else if(line.lastIndexOf("/s) - `") != -1 || line.lastIndexOf("/s) - '") != -1) { 1114 String startChar = (line.lastIndexOf("/s) - `") != -1) ? "`" : "'"; 1115 String current_file_downloading = line.substring(line.indexOf(startChar) + 1, line.lastIndexOf("'")); 1114 1116 if(!ignore_for_robots) { 1115 1117 DebugStream.println("Not ignore for robots");
Note:
See TracChangeset
for help on using the changeset viewer.