|
@@ -40,7 +40,7 @@ if (name === null) {
|
|
|
message: 'Enter the name of the author whose information you want to extract: >',
|
|
|
}).then(answer => {
|
|
|
// Lancement du prgramme
|
|
|
- extract(source, name);
|
|
|
+ extract(source, answer.name);
|
|
|
});
|
|
|
}
|
|
|
// Sinon on lance le programme
|
|
@@ -51,12 +51,12 @@ else {
|
|
|
function extract(source, name) {
|
|
|
name = name.trim();
|
|
|
if (verbose) {
|
|
|
- console.info(`Search for ${name}'s co-authors...`);
|
|
|
+ console.info(`Extraction of ${name}'s information...`);
|
|
|
timer.start();
|
|
|
}
|
|
|
//TODO Extraction
|
|
|
if (verbose) {
|
|
|
timer.stop();
|
|
|
- console.info(`${name}'s co-authors find in ${timer.time()}`);
|
|
|
+ console.info(`Information about ${name} extracted in ${timer.time()}`);
|
|
|
}
|
|
|
}
|