Parse hrefs, image paths, scripts paths and links from site.
node ./index.js -u INSERT_YOUR_URL
Usage: index [options]
Options:
-V, --version output the version number
-u, --url [Site URL*] Site URL
-o, --output [Output path] Output path
-f, --fileName [File name] File name
-h, --help output usage information
node ./index.js -u https:
{
"url": "https:",
"hrefs": [
"https:#start-of-content",
"https:/",
"https:/join?source=header-home",
"https:/features",
"https:/features/code-review/",
"https:/features/project-management/",
"https:/features/integrations",
"https:/features/actions",
"https:/features/package-registry",
"https:/features#team-management",
"https:/features#social-coding",
"https:/features#documentation",
"https:/features#code-hosting",
"https:/customer-stories",
"https:/security",
"https:/enterprise",
"https:/explore",
"https:/topics",
"https:/collections",
"https:/trending",
"https://lab.github.com/",
"https://opensource.guide",
"https:/events",
"https:munity",
"https://education.github.com",
"https:/marketplace",
"https:/pricing",
"https:/pricing#feature-comparison",
"https://enterprise.github.com/contact",
"https:/nonprofit",
"https://education.github.com",
"https:/login",
"https:/join?source=header-home",
"https:/open-source",
"https:/business",
"https://help.github.com/articles/creating-a-strong-password",
"https://help.github.com/terms",
"https://help.github.com/privacy",
"https:/join?source=button-home",
"https://enterprise.github.com/contact",
"https://enterprise.github.com/trial",
"https://live-stream.github.com",
"https:/join?plan=business&setup_organization=true&source=home",
"https:/features/code-review",
"https:/features/project-management",
"https:/features/integrations",
"https:/customer-stories/mgm-resorts",
"https:/customer-stories/nationwide",
"https:/customer-stories/sap",
"https:/customer-stories/skyscanner",
"https:/enterprise",
"https:/pricing",
"https://enterprise.github.com/contact",
"https:/features/integrations",
"https:/marketplace",
"https:/customer-stories/freakboy3742",
"https:/customer-stories/kris-nova",
"https:/customer-stories/yyx990803",
"https:/customer-stories/jessfraz",
"https:/open-source",
"https:/personal",
"https:/business",
"https://help.github.com/terms",
"https://help.github.com/privacy",
"https:/",
"https:/features",
"https:/security",
"https:/enterprise",
"https:/customer-stories",
"https:/pricing",
"https://resources.github.com",
"https://developer.github.com",
"http://partner.github.com/",
"https://atom.io",
"http://electron.atom.io/",
"https://desktop.github.com/",
"https://help.github.com",
"https:munity",
"https://services.github.com/",
"https://githubstatus.com/",
"https:/contact",
"https:/about",
"https://github.blog",
"https:/about/careers",
"https:/about/press",
"https://shop.github.com",
"https://twitter.com/github",
"https://www.facebook.com/GitHub",
"https://www.youtube.com/github",
"https://www.linkedin.com/company/github",
"https:/github",
"https:/site/terms",
"https:/site/privacy"
],
"imgs": [
"https://github.githubassets.com/images/search-key-slash.svg",
"https://github.githubassets.com/images/modules/site/logos/airbnb-logo.png",
"https://github.githubassets.com/images/modules/site/logos/sap-logo.png",
"https://github.githubassets.com/images/modules/site/logos/ibm-logo.png",
"https://github.githubassets.com/images/modules/site/logos/google-logo.png",
"https://github.githubassets.com/images/modules/site/logos/paypal-logo.png",
"https://github.githubassets.com/images/modules/site/logos/bloomberg-logo.png",
"https://github.githubassets.com/images/modules/site/logos/spotify-logo.png",
"https://github.githubassets.com/images/modules/site/logos/swift-logo.png",
"https://github.githubassets.com/images/modules/site/logos/facebook-logo.png",
"https://github.githubassets.com/images/modules/site/logos/node-logo.png",
"https://github.githubassets.com/images/modules/site/logos/nasa-logo.png",
"https://github.githubassets.com/images/modules/site/logos/walmart-logo.png",
"https://github.githubassets.com/images/modules/site/home-illo-team.svg",
"https://github.githubassets.com/images/modules/site/home-illo-team-code.svg",
"https://github.githubassets.com/images/modules/site/home-illo-team-chaos.svg",
"https://github.githubassets.com/images/modules/site/home-illo-team-tools.svg",
"https://github.githubassets.com/images/modules/site/home-illo-business.png",
"https://github.githubassets.com/images/modules/site/integrators/slackhq.png",
"https://github.githubassets.com/images/modules/site/integrators/zenhubio.png",
"https://github.githubassets.com/images/modules/site/integrators/travis-ci.png",
"https://github.githubassets.com/images/modules/site/integrators/atom.png",
"https://github.githubassets.com/images/modules/site/integrators/circleci.png",
"https://github.githubassets.com/images/modules/site/integrators/google.png",
"https://github.githubassets.com/images/modules/site/integrators/codeclimate.png"
],
"scripts": [
"https://github.githubassets.com/assets/compat-bootstrap-90c0ace0.js",
"https://github.githubassets.com/assets/frameworks-f1ce1e70.js",
"https://github.githubassets.com/assets/github-bootstrap-7892f842.js"
],
"links": [
"https://github.githubassets.com",
"https://avatars0.githubusercontent.com",
"https://avatars1.githubusercontent.com",
"https://avatars2.githubusercontent.com",
"https://avatars3.githubusercontent.com",
"https://github-cloud.s3.amazonaws.com",
"https://user-images.githubusercontent.com/",
"https://github.githubassets.com/assets/frameworks-da88be2d386821a8fa8de15789a23d23.css",
"https://github.githubassets.com/assets/site-f26347f7a4c8de793412afd3a9311ad1.css",
"https://github.githubassets.com/assets/github-eabf00b055e24d7c72291a479ad33e5d.css",
"https:/opensearch.xml",
"https:/fluidicon.png",
"https://github.githubassets.com/",
"https://github.githubassets.com/assets/site-f26347f7a4c8de793412afd3a9311ad1.css",
"https:/",
"https://github.githubassets.com/pinned-octocat.svg",
"https://github.githubassets.com/favicon.ico",
"https:/manifest.json"
]
}