GitXplorerGitXplorer
f

courts-go-jp-feeds

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
26ddfd195a0bd6d1f422bb1d5153918ad68d80ba

Update package-lock.json

ffbennett committed 7 years ago
Unverified
725865eedf0abc4470cc2ceb0a55444a1a871ae5

package-lock.json

ffbennett committed 7 years ago
Unverified
ce3cfe4cc5fe483a4681b906841228791f273a35

Initial checkin

ffbennett committed 7 years ago

README

The README file for this repository.

Feed builder for courts.go.jp

This script runs a trawl of the courts.go.jp site to build Atom feeds of court judgments.

Cases are automatically divided among Civil, Criminal, IP, Labor, and Administrative feeds.

Running the script as node ./scraper.js 2>/dev/null without arguments collects cases from 30 days in the past.

Running the script with a single numeric argument, say as node ./scraper.js 2 2>/dev/null, will backtrack by the given number of 30-day intervals, and collect 30 days of cases from that point forward.

Feeds are save locally, in the directory from which the script is executed.

Saved feeds are treated as a cache, and only the most recent 50 cases in each feed are saved.

Executing the script with an argument is only needed to set up the initial feed content. Afterward, executing the script without arguments once or twice a week will keep the feeds fresh.