Skip to content

Commit

Permalink
fix bookmarklet in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
mbme committed Jul 30, 2024
1 parent 39e37c3 commit ae83d24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ scrape the data from the page you're on

* [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/docs/scraper.user.js',type: 'text/javascript'}))
javascript:document.body.append(Object.assign(document.createElement('script'),{src:'https://mbme.github.io/scraper/scraper.user.js',type: 'text/javascript'}))
```
*NOTE*: the script is served using Github Pages to ensure the server returns a correct MIME type.

# Build dependencies
* `node.js`
Expand Down

0 comments on commit ae83d24

Please sign in to comment.