轻导航
  • 广告招商虚位以待
  • 广告招商虚位以待
  • 网站首页 >> Site-Shot - Capture a Website screenshot >> 正文

    Site-Shot - Capture a Website screenshot https://www.site-shot.com

    Site-Shot: Online webpage screenshot service that takes a full page snapshot. The simplest way to take a full page screenshot, we support up to 20000 pixels


    网站介绍

    网站截图

    相关站点

    网站标题: Site-Shot - Capture a Website screenshot

    网站URL: https://www.site-shot.com

    网站关键词: website screen capture, online website screenshot,web screenshot,website snapshot,web snapshot,web capture,free web capture,free web snapshot,free web screenshot, full page screenshot

    页面模拟爬行: Site-Shot-CaptureaWebsitescreenshotSite-ShotEnglishРусский(ru)English(en)DocumentationCodeSamplesPricingDashboardSigninShotBrowseroptionsfull-size:resolution:1280×12801024×7681280×8001280×10241366×7681920×1080GooglePixel,Pixel2(411×7312.6x)GalaxyS10(360×7604x)GalaxyS8/S8/Note8/S9(360×7404x)GalaxyS7/S7edge/S6(360×6404x)GoogleGlass(427×2401.5x)KindleFireHD8.9(800×12801.5x)iPhoneXSMax(414×8963x)iPhoneX,XS(375×8123x)iPhoneXR(414×8962x)iPhone6,6s,7,8(414×7362.6x)iPhone6,6s,7,8(375×6672x)iPadPro12.9(1024×13662x)iPad3,4,Air,Air2,Pro9.7(768×10242x)width:height:zoom:browsersize:Imageoptionsformat:PNGJPEGscale:imagesize:WebsiteScreenshotCaptureawebsitescreenshotonlineGenerateafullweb-pagescreenshotwithourserviceSite-Shot:Webpagescreenshotservice,thatprovidesrichinterfacetomakeanykindofwebscreenshotsonlineforfreewithnolimits.Inadd-onitprovidespowerfulAPItoautomatewebsitescreenshotgeneration.Thesimplestwaytotakeafullpagescreenshot,wesupportalongpagesupto20000pixelsFeelfreetosharegeneratedwebscreenshot,allcapturedscreenshotshaveuniqueaddress.TotakeadvantageofourRESTAPIserviceitwouldrequiretogetasubscriptionandspecifyyourpersonalkeyineveryAPIcall.APIcallexample:https://api.site-shot.com/?url=www.com&userkey=HQKRAKBKRARAAJBKYEIAAQThissiteisprotectedbyreCAPTCHAandtheGooglePrivacyPolicyandTermsofServiceapply.DocumentationThisdocumentationdescribeallavailableparametersandatleastoneexampleforeachparamterAPIcallsamplehttps://api.site-shot.com/?url=www.com&userkey=HQKRAKBKRARAAJBKYEIAAQUrlSpecifyAPIkeyandaweb-siteURLtocreatescreenshot,rememberthatallparametersneedstobeurlencoded.&url=https://www.wikipedia.org/WidthSetwebviewwidthinpixels,defaultvalue:1024pxValuesrange:100-8000&width=1280HeightSetwebviewheightinpixels,defaultvalue:768pxValuesrange:100-20000&height=1024ZoomSetwebviewpercentagezoom,defaultvalue:100Valuesrange:5-1000&zoom=200FullsizeCaptureentiredocumentcanvas,defaultvalue:0Documentmaximumheightislimitedbymax_heightparameter&full_size=1MaxheightSetwebviewmaximumheightinpixels,defaultvalue:15000pxThemax-heightparameterisonlyrelevantiffull_sizeissetto1Valuesrange:100-20000&max_height=5000&height=1280&full_size=1UseragentSpecifyacustomuseragentstringThevaluehavetobeurlencoded,providedexamplebellowcontainsuseragentstringforbrowserChromium&user_agent=Mozilla/5.0(X11;Linuxx86_64)AppleWebKit/537.36(KHTML,likeGecko)UbuntuChromium/64.0.3282.167Chrome/64.0.3282.167Safari/537.36ScaledwidthScaleresultimagetospecifiedwidthThevaluecannotbesmallerthanheightValuesrange:50-10000&scaled_width=200FormatImageformat,defaultvalue:PNGPossiblevalues:PNG,JPEG&format=jpegResponsetypeAPIresponsecontent-type,defaultvalue:imageIncaseofJSONresponse,APIprovideimageencodedinbase64andextrainformation:httpresponsecode,httpresponseheaders,errorincaseofunsuccessfulresponsePossiblevalues:IMAGE,JSON&response_type=imageAPIkeyYourpersonaluniqueidentifier.YoucangetitaftersignupprocessinDashboardPleasekeepthekeyinsecret&userkey=HQKRAKBKHII6RARAAJBKYEIAAQDelaytimeDelaythescreenshotcapture,defaultvalue:1500.HavetobespecifiedinmillisecondsValuesrange:0-60000&delay_time=2000TimeoutLimitthemaximumtimeforscreenshotcreation,defaultvalue:60000Ifscreenshotisn'tcreatedintimeAPIreturntimeouterrorHavetobespecifiedinmillisecondsValuesrange:0-120000&timeout=jpegRequestheadersSpecifyacustomrequestheadersfieldsAllowedmultiplerequest_headerparametersProvidedexamplesbelow,specifiedCookieandRefererhttpheaders&request_header=Cookie:SSID=WX84BVOEA3WEDSHJHG&request_header=Referer:http://www.website.com/HttpproxySpecifyahttpproxyserver,defaultvalue:http://localhost:3128&http_proxy=http://localhost:3128ProxyusernameSpecifyanusernameforproxyserver&proxy_username=jamesProxypasswordSpecifyapasswordforproxyserver&proxy_password=changemeSourcecodeGettherenderedsourcecodeofthewebpage,defaultvalue:0Applicableonlytogetherwithresponse_type=json&source_code=1JavscriptcodeIngestcustomJavaScriptcodeintothewebpage&javascript_code=document.getElementById('uc-central-banner-modal').style="display:none"CodeSamplesJustcopycodeforyourlanguageandaddAPIkey.PythonPHPBashPerl#!/usr/bin/python3importbase64importrequestsdefget_screenshot(params):headers={Content-type:application/x-www-form-urlencoded,Accept:text/plain,userkey:HQKRAKBKRARAAJBKYEIAAQ}try:r=requests.post('https://api.site-shot.com/',headers=headers,data=params)if(r.status_code==requests.codes.ok):returnr.json()elif(r.status_code==404):print(Screenshothasn'tbeengenerated.Theerror:r.json().error)elif(r.status_code==401):print(Invalidauthenticationtoken)elif(r.status_code==403):print(Activesubscriptionhasn'tbeenfound)exceptrequests.exceptions.RequestExceptionase:print('Screenshotgenerationhasfailed,theerror:'str(e))defmain():screenshot=get_screenshot({'url':'https://site-shot.com/','width':1280,'height':1280,'format':'png','response_type':'json','delay_time':2000,'timeout':60000})ifscreenshotisnotNone:base64_image=screenshot['image'].split(',',maxsplit=1)[1]image_file=open('screenshot.png','wb')image_file.write(base64.b64decode(base64_image))image_file.close()main()?php//youraccesskey,canbefoundherehttps://www.site-shot.com/dashboard/define('ACCESS_KEY','XXXXXXXXXXXXXXXXXXXXXXXXX');//apiendpointdefine('API_URI','https://api.site-shot.com');//folderforthecachedscreenshotsdefine('CACHE_DIR','/tmp');//howmuchtimescreenshotwillbecached,definedinsecondsdefine('CACHE_EXPIRATION',60*60*24*1);//Screenshotparameters//screenshotwitdhdefine('SCR_WIDTH',1024);//screenshotheigth,orminimumheightincaseiffullsizeoptionenableddefine('SCR_HEIGTH',1920);//delaytimeinmiliseconds,tomakesureallthecontentisloaddeddefine('SCR_DELAY_TIME',3000);//timeoutinmiliseconds0-120000,maximumtimeallocatedforthescreenshotcreation//incaseiftimeouttoosmalltimeouterrorwouldberecieveddefine('SCR_TIMEOUT',90000);functiondownloadScreenshot($url){$query_string=http_build_query(array('url'=$url,'userkey'=ACCESS_KEY,'width'=SCR_WIDTH,'height'=SCR_HEIGTH,'delay_time'=SCR_DELAY_TIME,'timeout'=SCR_TIMEOUT,'response_type'='json',));$image=file_get_contents(API_URI./?$query_string);return$image;}functiongetScreenshot($url){$file_name=CACHE_DIR.'/'.md5($url);$screenshot_json=False;if(CACHE_EXPIRATION0andfile_exists($file_name)){if(filemtime($file_name)CACHE_EXPIRATIONtime()){$screenshot_json=file_get_contents($file_name);}}if(!$screenshot_json){$screenshot_json=downloadScreenshot($url);if(CACHE_EXPIRATION0){file_put_contents($file_name,$screenshot_json);}}return$screenshot_json;}functionrun(){$url='https://youtube.com';$screenshot_json=json_decode(getScreenshot($url));$data=explode(',',$screenshot_json-image);$image=base64_decode($data[1]);header(Content-Type:image/png);echo($image);}run();?tobeaddedtobeaddedHighAvailabilityWeprovidehighlyavailableservice,with99.9%uptime!EasytoStartYoucantryoutourserviceforfree,noneedtoregister.HorizontalScalabilityWecanincreasecapacityasmuchasyouneed!FastAPIFastscreenshotrendering,noneedtowait.Let'sGetInTouch!1-845-704-5003,7-926-523-4359support@site-shot.comCompanyname:KazandaevAlekseyPavlovich(Individualentrepreneur)TIN:638501320837

    温馨提示: 贵站已收录欢迎回访,希望贵站能上本页面一个友情链接,感谢您对本站的支持!
    <a href="http://daohang.qidh.cn" target="_blank">免费收录网站</a>

    自动秒收录
    免责声明:
    站内所展示网站/网址均为网友提交收录信息,如有侵权等违规请联系QQ964497800 进行删除处理,谢谢配合!
    随机推荐
    兄弟联盟
  • 轻导航