Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
allenkinzalow committed Jul 20, 2024
1 parent bd2cf86 commit 414cb4e
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,37 @@
# osrs-web-scraper
Scrape information from the Oldschool Runescape website.

Scrape information from the Oldschool Runescape website and convert it to MediaWiki format.

## Setup

### Install dependencies

```
yarn install
```

### Setup environment
```
NODE_ENV=development
NEWS_LINK=https://secure.runescape.com/m=news/a=1/desert-treasure-ii---the-fallen-empire?oldschool=1
```
### Usage

### Run the scraper
```
yarn start
Usage: OSRS Web Scraper [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
news <string> Scrape an OSRS news posts.
poll <string> Scrape an OSRS poll.
worlds Scrape the OSRS world list.
help [command] display help for command
```

## Releasing

### Create a changeset

Create a changeset file by running the following command:

```
yarn changeset
```
Expand Down

0 comments on commit 414cb4e

Please sign in to comment.