Поправил дебаг
This commit is contained in:
@@ -26,7 +26,7 @@ class BookConverter {
|
|||||||
const parsedUrl = new URL(url);
|
const parsedUrl = new URL(url);
|
||||||
if (parsedUrl.hostname == 'samlib.ru' ||
|
if (parsedUrl.hostname == 'samlib.ru' ||
|
||||||
parsedUrl.hostname == 'budclub.ru') {
|
parsedUrl.hostname == 'budclub.ru') {
|
||||||
await fs.writeFile(outputFile, await this.convertHtml(data));
|
await fs.writeFile(outputFile, await this.convertSamlib(data));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user