From b489c8fc334e0f8fd82a3095e4ddfc943dbcf114 Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Sat, 16 Nov 2019 03:33:36 +0100 Subject: [PATCH] Major refactor, cleand up site scrape module, fixed and cleaned up release scrape module. Removed old CLI code --- assets/components/actor/actor.vue | 18 +- assets/components/home/home.vue | 16 +- assets/components/network/network.vue | 18 +- assets/components/releases/releases.vue | 69 ++++++ assets/components/site/site.vue | 18 +- assets/components/tag/tag.vue | 33 +-- assets/css/style.scss | 12 - config/default.js | 12 +- package-lock.json | 50 ----- package.json | 2 - public/css/style.css | 40 ++-- public/img/logos/mikeadriano/network.png | Bin 6970 -> 7537 bytes src/app.js | 84 ++----- src/argv.js | 49 ++-- src/db.sqlite | 0 src/fetch-releases.js | 270 ----------------------- src/fetch-scene.js | 126 ----------- src/media.js | 25 +++ src/networks.js | 19 +- src/releases.js | 75 +++++++ src/scrape-release.js | 58 +++++ src/scrape-sites.js | 136 ++++++++++++ src/scrapers/brazzers.js | 18 +- src/scrapers/dogfart.js | 2 +- src/scrapers/kink.js | 14 +- src/scrapers/pervcity.js | 4 +- src/scrapers/private.js | 22 +- src/scrapers/{index.js => scrapers.js} | 0 src/scrapers/vixen.js | 10 +- src/scrapers/xempire.js | 2 +- src/sites.js | 87 +++++++- src/tags.js | 7 +- src/tui/formatters.js | 29 --- src/tui/render.js | 111 ---------- src/web/server.js | 6 +- 35 files changed, 595 insertions(+), 847 deletions(-) create mode 100644 assets/components/releases/releases.vue delete mode 100644 src/db.sqlite delete mode 100644 src/fetch-releases.js delete mode 100644 src/fetch-scene.js create mode 100644 src/scrape-release.js create mode 100644 src/scrape-sites.js rename src/scrapers/{index.js => scrapers.js} (100%) delete mode 100644 src/tui/formatters.js delete mode 100644 src/tui/render.js diff --git a/assets/components/actor/actor.vue b/assets/components/actor/actor.vue index b4e0939e..9a5eedf2 100644 --- a/assets/components/actor/actor.vue +++ b/assets/components/actor/actor.vue @@ -48,23 +48,17 @@ -

Latest releases

- - + + + diff --git a/assets/components/site/site.vue b/assets/components/site/site.vue index 26b6aad5..eb1dcb81 100644 --- a/assets/components/site/site.vue +++ b/assets/components/site/site.vue @@ -47,23 +47,17 @@

{{ site.description }}

-

Latest releases

- - +