-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'})); | ||
) |