removed api part since not needed anymore

This commit is contained in:
2020-05-24 21:10:29 +03:00
parent c38cf8c8c9
commit 8c5fba8788
6 changed files with 7 additions and 72 deletions

View File

@@ -1,17 +1,11 @@
import jsdom from "jsdom";
import { JSDOM } from "jsdom";
import Car from "../model/Car";
import Selectors from '../util/Selectors';
const {
JSDOM
} = jsdom;
class Scraper {
document;
car;
constructor() {}
setContent(text) {
const parsedContent = new JSDOM(text).window.document;
if (parsedContent.querySelector(Selectors.properties.main.container) === null) {