登录网网站推广链致力于为站长和SEO提供流量交换、友情链接交换,发布、以及高端网站推广等基于网站友情链接的全方位服务。 网站推广链是一个流量互增的自动外链平台,自动友情链接收录,可以给你网站提高百度权重,增加反向链接,加快百度收录,是您迅速提升网站流量的网络推广必备工具。
确认举报

收录时间:2019-08-09 01:29:55举报

网站名称:Site-Shot - Capture a Website screenshot

网站域名: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 - Capture a Website screenshot

来访次数:10

人气指数:127 进入网站

Site-Shot - Capture a Website screenshot介绍

Site-Shot-CaptureaWebsitescreenshotSite-ShotDocumentationCodeSamplesPricingDashboardSigninShotBrowseroptionsfull-size:resolution:1024×7681280×8001280×10241366×7681920×10801280×1280GooglePixel,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,wesupportalongpagesupto50000pixelsFellfreetosharegeneratedwebscreenshot,allcapturedscreenshotshaveuniqueaddress.TotakeadvantageofourRESTAPIserviceitwouldrequiretogetasubscriptionandspecifyyourpersonalkeyineveryAPIcall.APIcallexample:https://api.site-shot.com/?url=www.com&user_key=HQKRAKBKRARAAJBKYEIAAQDocumentationDocumentationforadvancedAPI.UrlSpecifyAPIkeyandaweb-siteURLtocreatescreenshot,rememberthatallparametersneedstobeurlencoded.&url=https://www.wikipedia.org/WidthSetwebviewwidthinpixels,default:1024pxValuesrange:100-10000&width=1280HeightSetwebviewheightinpixels,defaultvalue:768pxValuesrange:100-50000&height=1024ZoomSetwebviewpercentagezoom,defaultvalue:100Valuesrange:5-1000&zoom=200FullsizeCaptureentiredocumentcanvas,defaultvalue:0Documentmaximumheightislimitedbymax_heightparameter&full_size=1MaxheightSetwebviewmaximumheightinpixels,defaultvalue:15000pxThemax-heightparameterisonlyrelevantiffull_sizeissetto1Valuesrange:100-30000&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:JSONIncaseofJSONresponse,APIprovideimageencodedinbase64andextrainformation:httpresponsecode,httpresponseheaders,errorincaseofunsuccessfulresponsePossiblevalues:IMAGE,JSON&response_type=jpegAPIkeyYourpersonaluniqueidentifier.YoucangetitaftersignupprocessinDashboardPleasekeepthekeyinsecret&user_key=HQKRAKBKHII6RARAAJBKYEIAAQDelaytimeDelaythescreenshotcapture,defaultvalue:1500.HavetobespecifiedinmillisecondsValuesrange:0-60000&delay_time=2000TimeoutLimitthemaximumtimeforscreenshotcreation,defaultvalue:60000Ifscreenshotisn'tcreatedintimeAPIreturntimeouterrorHavetobespecifiedinmillisecondsValuesrange:0-120000&timeout=jpegRequestheadersSpecifyacustomrequestheadersfieldsAllowedmultiplerequest_headerparametersProvidedexamplesbellow,specifyCookieandRefererhttpheaders&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=changemeCodeSamplesJustcopycodeforyourlanguageandaddAPIkey.PythonPHPBashPerl#!/usr/bin/python3importhttp.clientimporturllib.parseimportjsonimportbase64defget_screenshot(params):post_params=urllib.parse.urlencode(params)headers={"Content-type":"application/x-www-form-urlencoded","Accept":"text/plain"}http_conn=http.client.HTTPConnection('api.site-shot.com',80,timeout=120)http_conn.request("POST","",post_params,headers)response=http_conn.getresponse()print(response.status,response.reason)if(response.status==404orresponse.status==200):response_text=response.read()response_json=json.loads(response_text.decode("utf-8"))returnresponse_jsonprint(str(response_json))defmain():screenshot=get_screenshot({'url':'https://site-shot.com/','width':1280,'height':1280,'format':'png','response_type':'json','delay_time':2000,'timeout':60000})if('error'inscreenshot):print(screenshot['error'])else: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()tobeaddedtobeaddedtobeaddedHighAvailabilityWeprovidehighlyavailableservice,with99.9%uptime!EasytoStartYoucantryoutourserviceforfree,noneedtoregister.HorizontalScalabilityWecanincreasecapacityasmuchasyouneed!FastAPIFastscreenshotrendering,noneedtowait.Let'sGetInTouch!+1-845-704-5003support@site-shot.com

访问:Site-Shot - Capture a Website screenshot