Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mbme committed Jul 30, 2024
1 parent 07e1c22 commit 88b60a7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# scraper
scrape the data from the page you're on

# Usage
* [Userscript](https://raw.githubusercontent.com/mbme/scraper/main/dist/scraper.user.js)

* [Bookmarklet](https://en.wikipedia.org/wiki/Bookmarklet): add the following code to the url section of a new bookmark, or paste it in the url bar:
```
javascript:document.body.append(Object.assign(document.createElement('script'),{src:'https://raw.githubusercontent.com/mbme/scraper/main/dist/scraper.user.js',type: 'text/javascript'}))
```

# Build dependencies
* `node.js`
* `npm`
* `chromium` - to run e2e tests
* [`just`](https://github.com/casey/just)

# Usage
* [Userscript](https://raw.githubusercontent.com/mbme/scraper/main/dist/scraper.user.js)

* [Bookmarklet](javascript:document.body.append(Object.assign(document.createElement('script'), {src: 'https://raw.githubusercontent.com/mbme/scraper/main/dist/scraper.user.js', type: 'text/javascript'}));
)

0 comments on commit 88b60a7

Please sign in to comment.