fa-envelope|fa-briefcase|fa-gittip|fa-star|fa-bomb|fa-upload|fa-space-shuttle|fa-university|fa-users|fa-tree
当前位置:老李收录网>自动秒收录网>自动秒收录>Site-S
正文介绍
我们收录的网站不保证永久安全,请您仔细查看谨慎辨别,建议您不要随意泄漏帐号密码等安全信息。
         
关键词
               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.com
快照
               Site-Shot-CaptureaWebsitescreenshotviaAPI Site-ShotEnglishEnglish(en)TermsofUsePrivacyPolicyDocumentationCodeSamplesPricingDashboardSignin ShotBrowseroptionsfull-size:USproxy: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:WebsiteScreenshotAPICaptureawebsitescreenshotonlineGenerateafullweb-pagescreenshotwithourserviceSite-Shot:Webpagescreenshotservice,thatprovidesrichinterfacetomakeanykindofwebscreenshotsonlineforfreewithnolimits.Inadd-onitprovidespowerfulAPItoautomatewebsitescreenshotgeneration.Thesimplestwaytotakeafullpagescreenshot,wesupportalongpagesupto20000pixelsFeelfreetosharegeneratedwebscreenshot,allcapturedscreenshotshaveuniqueaddress.TotakeadvantageofourRESTAPIserviceitwouldrequiretogetasubscriptionandspecifyyourpersonalkeyineveryAPIcall.APIcallexample:https://api.site-shot.com/?url=www.com&userkey=HQKRAKBKRARAAJBKYEIAAQThissiteisprotectedbyreCAPTCHAandtheGooglePrivacyPolicyandTermsofServiceapply.DocumentationThisdocumentationdescribeallavailableparametersandatleastoneexampleforeachparameterAPIcallsamplehttps://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,providedexamplebelowcontainsuseragentstringforbrowserChromium&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=60000RequestheadersSpecifyacustomrequestheadersfieldsAllowedmultiplerequest_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"ProxyrotationHighqualityproxywouldbeautomaticallyrotated,defaultvalue:1&proxy_rotation=1NocookiepopupBlockcookiebannersonwebsites,defaultvalue:0&no_cookie_popup=1NoadsBlockadsfrompopularad-networks,defaultvalue:0&no_ads=1Takealookatournewservice:NewssentimentanalysisonpeopleandorganizationsCodeSamplesJustcopycodeforyourlanguageandaddAPIkey.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()//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_EXPIRATION>0andfile_exists($file_name)){if(filemtime($file_name)+CACHE_EXPIRATION>time()){$screenshot_json=file_get_contents($file_name);}}if(!$screenshot_json){$screenshot_json=downloadScreenshot($url);if(CACHE_EXPIRATION>0){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!support@site-shot.comCompanyname:WEBSCRAPERLLP
温馨提示
温馨提示:如果贵站想上百度,希望贵站能添加本页面为友情链接,感谢您对本站的支持!
老李收录网

温馨提示
温馨提示:如果贵站想上百度,希望贵站能添加本页面为友情链接,感谢您对本站的支持!
<a href="https://llslw.cn/post/2218.html" target="_blank">老李收录网</a>

巴适自动秒收

叮当猫软件库

[本页网址]