scraglewebshot - Capture screenshot of web page

scraglewebshot captures screenshot of specified web page.

(no tags)

Algorithmia Platform License
apl
· Internet Access

This algorithm has Internet access.

This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
· Calls Other Algorithms

This algorithm has permission to call other algorithms.

This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks, however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls.

Run an Example

"{\"isError\":false,\"errorMessage\":\"Capturing screenshot is completed successfully!\",\"errorCode\":\"Success\",\"results\":{\"outputFile\":\"data://.algo/progragle/scraglewebshot/temp/b980953f1c824b6ca6a2ee4af41a8307.png\",\"errorStream\":\"\",\"outputFileUrl\":\"https://algorithmia.com/v1/data/.algo%2Fprogragle%2Fscraglewebshot%2Ftemp%2Fb980953f1c824b6ca6a2ee4af41a8307.png\",\"outputStream\":\"ReferenceError: Can\\u0027t find variable: Set\\n\\n  https://static.reuters.com/resources_v2/react/release/fast_track-2b1cbaa7/common.bundle.js:31 in ./node_modules/react-dom/cjs/react-dom.production.min.js\\n  https://static.reuters.com/resources_v2/react/release/fast_track-2b1cbaa7/common.bundle.js:1 in t\\n  https://static.reuters.com/resources_v2/react/release/fast_track-2b1cbaa7/common.bundle.js:31 in ./node_modules/react-dom/index.js\\n  https://static.reuters.com/resources_v2/react/release/fast_track-2b1cbaa7/common.bundle.js:1 in t\\n  https://static.reuters.com/resources_v2/react/release/fast_track-2b1cbaa7/common.bundle.js:1 in ./js/lib/helpers/ReactRenderClient.js\\n  https://static.reuters.com/resources_v2/react/release/fast_track-2b1cbaa7/common.bundle.js:1 in t\\n  https://static.reuters.com/resources_v2/react/release/fast_track-2b1cbaa7/article.bundle.js:1 in ./js/article_index.js\\n  https://static.reuters.com/resources_v2/react/release/fast_track-2b1cbaa7/common.bundle.js:1 in t\\n  https://static.reuters.com/resources_v2/react/release/fast_track-2b1cbaa7/article.bundle.js:1\\n  https://static.reuters.com/resources_v2/react/release/fast_track-2b1cbaa7/common.bundle.js:1 in t\\n  https://static.reuters.com/resources_v2/react/release/fast_track-2b1cbaa7/common.bundle.js:1 in webpackJsonp\\nReferenceError: Can\\u0027t find variable: abp\\n\\n  https://www.reuters.com/article/us-usa-art-nazi/new-york-judge-awards-nazi-looted-artworks-to-holocaust-victims-heirs-in-key-test-case-idUSKCN1HD0AV:86 in global code\\n  :0 in insertBefore\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:44\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:47 in c\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:74 in Uf\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:163\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:157 in xl\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:165 in Kg\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:107 in Xg\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:108 in push\\n  https://www.google-analytics.com/gtm/js?id\\u003dGTM-TBBXQQ\\u0026t\\u003dgtm1\\u0026cid\\u003d815217828.1523090277:58 in push\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:108\\n[object Object]\\n\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:93 in error\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:101 in onerror\\n  :0 in insertBefore\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:44\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:47 in c\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:74 in Uf\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:163\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:157 in xl\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:165 in Kg\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:107 in Xg\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:108 in push\\n  https://www.google-analytics.com/gtm/js?id\\u003dGTM-TBBXQQ\\u0026t\\u003dgtm1\\u0026cid\\u003d815217828.1523090277:58 in push\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:108\\nReferenceError: Can\\u0027t find variable: TR3\\n\\n  https://www.reuters.com/article/us-usa-art-nazi/new-york-judge-awards-nazi-looted-artworks-to-holocaust-victims-heirs-in-key-test-case-idUSKCN1HD0AV:1 in global code\\n  :0 in replaceChild\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:100 in $c\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:99 in xd\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:97 in Uc\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:95 in Hb\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:94 in write\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:101 in c\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:101 in b\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:102\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:94 in Jc\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:94 in write\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:98 in $b\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:97\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:99 in xd\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:97 in Uc\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:95 in Hb\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:94 in write\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:98 in $b\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:97\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:99\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:100 in onload\\n[object Object]\\n\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:93 in error\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:101 in onerror\\n  :0 in replaceChild\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:100 in $c\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:99 in xd\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:97 in Uc\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:95 in Hb\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:94 in write\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:101 in c\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:101 in b\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:102\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:94 in Jc\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:94 in write\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:98 in $b\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:97\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:99 in xd\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:97 in Uc\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:95 in Hb\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:94 in write\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:98 in $b\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:97\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:99\\n  https://www.googletagmanager.com/gtm.js?id\\u003dGTM-W9SLGS:100 in onload\\nTypeError: null is not an object (evaluating \\u0027document.getElementById(\\u0027replay-video\\u0027)\\u0027)\\n\\n  https://www.reuters.com/article/us-usa-art-nazi/new-york-judge-awards-nazi-looted-artworks-to-holocaust-victims-heirs-in-key-test-case-idUSKCN1HD0AV:439\\nTypeError: null is not an object (evaluating \\u0027document.getElementById(\\u0027replay-video2\\u0027)\\u0027)\\n\\n  https://www.reuters.com/article/us-usa-art-nazi/new-york-judge-awards-nazi-looted-artworks-to-holocaust-victims-heirs-in-key-test-case-idUSKCN1HD0AV:446\\n\"}}"
Running algorithm...

Install & Use

Use

curl -X POST -d '{
  "url": "https://www.reuters.com/article/us-usa-art-nazi/new-york-judge-awards-nazi-looted-artworks-to-holocaust-victims-heirs-in-key-test-case-idUSKCN1HD0AV"
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/progragle/scraglewebshot/0.1.0