{"id":16652621,"url":"https://github.com/sabujxi/multishotwebpageclipper","last_synced_at":"2025-12-27T10:04:58.167Z","repository":{"id":100214440,"uuid":"63352672","full_name":"SabujXi/MultiShotWebPageClipper","owner":"SabujXi","description":"Save a full web page to pdf or create multiple screenshot of smaller parts of the page like news thumbnail (image + subtitle) only with a simple selector.)","archived":false,"fork":false,"pushed_at":"2016-07-14T20:06:39.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T16:37:10.243Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SabujXi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-14T16:32:34.000Z","updated_at":"2017-04-12T19:51:54.000Z","dependencies_parsed_at":"2023-05-09T12:47:12.392Z","dependency_job_id":null,"html_url":"https://github.com/SabujXi/MultiShotWebPageClipper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SabujXi/MultiShotWebPageClipper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SabujXi%2FMultiShotWebPageClipper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SabujXi%2FMultiShotWebPageClipper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SabujXi%2FMultiShotWebPageClipper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SabujXi%2FMultiShotWebPageClipper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SabujXi","download_url":"https://codeload.github.com/SabujXi/MultiShotWebPageClipper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SabujXi%2FMultiShotWebPageClipper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28077395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T09:29:13.427Z","updated_at":"2025-12-27T10:04:58.135Z","avatar_url":"https://github.com/SabujXi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MultiShotWebPageClipper\nSave a full web page to pdf or create multiple screenshot of smaller parts of the page like news thumbnail (image + subtitle) only with a simple selector.)\n\nTo run this piece of code you need to have PhantomJS installed. Before running it open the MultiShotWebPageClipper.js with plain text editor like Sublime Text/Notepad++/gedit/vim/nano etc. and manipulate the variables: theUrl, theQuerySelector and displayWidth as you desire.\n\nTo save the page mentioned in theUrl variale as the pdf you need to set the theQuerySelector to \"--doc--\" and run the script. If you want to save multiple sinppet of the web page as png image you need to find the css selector of that element and put it in the theQuerySelector. Run the script and all matching element in the page would be saved in the current directory as clip1.png, clip2.png, etc.\n\nTo run the script fire up your linux/windows/mac command line terminal and write \"phantomjs MultiShotWebPageClipper.js\", hit enter, wait for some time until it returns and go to the current directory and you would get loads of clip.png files or page.pdf.\n\nFor more description go to my blog post: [Save Full Web Page as PDF or Make Lots of Clipping Automatically](http://www.sabuj.me/i_52/save-full-web-page-as-pdf-or-make-lots-of-clipping-automatically-with-multishotwebclipper)\nFor video tutorial on it go to my youtube channel: [Md. Sabuj Sarker's Youtube Channel](https://youtube.com/c/MdSabujSarker)\nThe Video Link: [Save Full Web Page as PDF or Make Lots of Clipping Automatically](https://youtu.be/qD4W1JJ8B_w)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabujxi%2Fmultishotwebpageclipper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsabujxi%2Fmultishotwebpageclipper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabujxi%2Fmultishotwebpageclipper/lists"}