From 46f521972fa53f2c3377f224566d3a55ad0c1b1d Mon Sep 17 00:00:00 2001 From: Huey Date: Tue, 27 Dec 2022 13:56:25 +0800 Subject: [PATCH] fix: lawnet bug --- package.json | 2 +- src/utils/scraper/SG/LawNet.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9404ee3..3c79eb8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clerkent", - "version": "3.4.9", + "version": "3.4.10", "private": true, "description": "quick search legal search", "repository": "https://github.com/lacuna-technologies/clerkent.git", diff --git a/src/utils/scraper/SG/LawNet.ts b/src/utils/scraper/SG/LawNet.ts index f49108a..26934d9 100644 --- a/src/utils/scraper/SG/LawNet.ts +++ b/src/utils/scraper/SG/LawNet.ts @@ -7,8 +7,8 @@ import Logger from 'utils/Logger' import Helpers from 'utils/Helpers' import PDF from 'utils/PDF' -const STATE_COURT_JUDGMENTS = `https://www.lawnet.sg/lawnet/web/lawnet/free-resources?p_p_id=freeresources_WAR_lawnet3baseportlet&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=subordinateRSS&p_p_cacheability=cacheLevelPage&p_p_col_id=column-1&p_p_col_pos=2&p_p_col_count=3&_freeresources_WAR_lawnet3baseportlet_total=92` -const FAMILY_COURT_JUDGMENTS = `https://www.lawnet.sg/lawnet/web/lawnet/free-resources?p_p_id=freeresources_WAR_lawnet3baseportlet&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_pos=2&p_p_col_count=3&_freeresources_WAR_lawnet3baseportlet_action=juvenile` +const STATE_COURT_JUDGMENTS = `https://www.lawnet.sg/lawnet/web/lawnet/free-resources?p_p_id=freeresources_WAR_lawnet3baseportlet&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=subordinateRSS&p_p_cacheability=cacheLevelPage&p_p_col_id=column-1&p_p_col_pos=2&p_p_col_count=3&_freeresources_WAR_lawnet3baseportlet_total=1000` +const FAMILY_COURT_JUDGMENTS = `https://www.lawnet.sg/lawnet/web/lawnet/free-resources?p_p_id=freeresources_WAR_lawnet3baseportlet&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=juvenileRSS&p_p_cacheability=cacheLevelPage&p_p_col_id=column-1&p_p_col_pos=2&p_p_col_count=3&_freeresources_WAR_lawnet3baseportlet_total=1000` const rssParser = new Parser()