Node.js download
- npm install
- npm run go
Comments in js file and have fun!
| <html> | |
| <head> | |
| <script type="text/javascript" src="/static/js/analytics.js?v=1504952612.0" charset="utf-8"></script> | |
| <script type="text/javascript">archive_analytics.values.service = 'wb'; | |
| archive_analytics.values.server_name = 'wwwb-app42.us.archive.org'; | |
| archive_analytics.values.server_ms = 557;</script> | |
| <script type="text/javascript" src="/static/js/wbhack.js?v=1504952612.0" charset="utf-8"></script> | |
| <script type="text/javascript"> |
| { | |
| "curURL": "https://bluelivesmatter.blue/jefferson-judge-joseph-bruzzese-jr-shot/", | |
| "domInfo": { | |
| "whoIsClickableCount": { | |
| "#document": 20, | |
| "html": 4, | |
| "div": 177, | |
| "a": 625, | |
| "span": 5, | |
| "input": 437, |
| { | |
| "curURL": "http://www.bbc.com/", | |
| "domInfo": { | |
| "listenerCount": { | |
| "error": 3, | |
| "load": 11, | |
| "click": 62, | |
| "touchend": 21, | |
| "mousedown": 11, | |
| "input": 1, |
Node.js download
Comments in js file and have fun!
| <!DOCTYPE html><html lang="en" data-cast-api-enabled="true"><head><script type="text/javascript" src="/static/js/analytics.js?v=1500596387.0" charset="utf-8"></script> | |
| <script type="text/javascript">archive_analytics.values.service='wb';archive_analytics.values.server_name='wwwb-app16.us.archive.org';archive_analytics.values.server_ms=1692;</script><script type="text/javascript" src="/static/js/wbhack.js?v=1500596387.0" charset="utf-8"></script> | |
| <script type="text/javascript"> | |
| __wbhack.init('https://web.archive.org/web'); | |
| </script> | |
| <link rel="stylesheet" type="text/css" href="/static/css/banner-styles.css?v=1500596387.0" /> | |
| <link rel="stylesheet" type="text/css" href="/static/css/iconochive.css?v=1500596387.0" /> |
| function sortAscending ([ k1, v1 ], [ k2, v2 ]) { | |
| if (v1 < v2) { | |
| return -1 | |
| } | |
| if (v1 > v2) { | |
| return 1 | |
| } | |
| return 0 | |
| } |
| const CDXJ = require('cdxj') | |
| // To read the cdxj file entirely | |
| // and receive an array of cdxj entries | |
| async function getMeSomeCDXJ () { | |
| let cdxj = await CDXJ.readCDXJ('<path-to-cdxj-file>') | |
| cdxj.forEach(cdxjEntry => { | |
| console.log(`surt: ${cdxjEntry.surt}`) | |
| console.log(`datetime: ${cdxjEntry.dt}`) | |
| console.log(`json data: ${cdxjEntry.json}`) |
| Object.keys(process.env).forEach(envKey => { | |
| console.log(envKey) | |
| }) |
| from bs4 import BeautifulSoup | |
| # https://pypi.python.org/pypi/sumy | |
| from sumy.parsers.html import HtmlParser | |
| from sumy.parsers.plaintext import PlaintextParser | |
| from sumy.nlp.tokenizers import Tokenizer | |
| from sumy.summarizers.lsa import LsaSummarizer as Summarizer | |
| from sumy.nlp.stemmers import Stemmer | |
| from sumy.utils import get_stop_words | |
| # USE PYTHON3 |
| /* eslint-disable */ | |
| 'use strict'; | |
| function showNotification(title, body, icon, tag, url) { | |
| var notificationOptions = { | |
| body: body, | |
| icon: icon, | |
| data: { url: url }, | |
| tag: tag | |
| } |