From 50aa4d4f1e362c65aa2e030845ed00ad0346dad0 Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Tue, 28 Apr 2020 18:33:15 +0200 Subject: [PATCH] [scraper] updates horriblesubs mapping --- scraper/scrapers/horriblesubs/horriblesubs_api.js | 2 +- scraper/scrapers/horriblesubs/horriblesubs_mapping.json | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/scraper/scrapers/horriblesubs/horriblesubs_api.js b/scraper/scrapers/horriblesubs/horriblesubs_api.js index 373c3e4..ad4cdfd 100644 --- a/scraper/scrapers/horriblesubs/horriblesubs_api.js +++ b/scraper/scrapers/horriblesubs/horriblesubs_api.js @@ -7,7 +7,7 @@ const defaultUrl = 'https://horriblesubs.info'; const defaultTimeout = 10000; function allShows(config = {}) { - return _getContent('/shows', config) + return _getContent('/shows/', config) .then(($) => $('div[class="ind-show"]') .map((index, element) => $(element).children('a')) .map((index, element) => ({ diff --git a/scraper/scrapers/horriblesubs/horriblesubs_mapping.json b/scraper/scrapers/horriblesubs/horriblesubs_mapping.json index 23090e8..6f99ffc 100644 --- a/scraper/scrapers/horriblesubs/horriblesubs_mapping.json +++ b/scraper/scrapers/horriblesubs/horriblesubs_mapping.json @@ -5537,5 +5537,13 @@ "Zashiki Warashi no Tatami-chan": { "showId": "1412", "kitsu_id": "43115" + }, + "Woodpecker Detective's Office": { + "showId": "1414", + "kitsu_id": "42602" + }, + "Kitsutsuki Tanteidokoro": { + "showId": "1415", + "kitsu_id": "42602" } } \ No newline at end of file