This blog provides updates on the API and features offered by Browshot. Subscribe to our blog to stay up to date on the service.
Nov 25, 2018
We keep making small changes to Browshot to follow browser releases but also to respond to customer requests. There have been many improvements and additions over the last few months.
Chrome has been updated to version 70. There have been a number of improvements, including:
- better handling of lazy-loading images
- improved Flash support
We have updated our API to handle some new use cases for our customers:
- S3: you can make screenshots completely private in your S3 bucket with the new option private=1 (screenshot/host) or hosting_private=1 (screenshot/create). By default, screenshots uploaded to S3 are publicly readable.
- Screenshot details: we have changed the type of information displayed for each level of details. This change was done to speed up several API call wit the default level of details.
- Screenshot creation: we have added a max_wait parameter to define a maximum delay to wait after the page has been downloaded. This is useful to not wait for analytics or other external scripts that may take a very long time to load.
The Python library for Browshot has been updated to version 1.21.1. A new package has been uploaded to PyPi to fix the import issue reported.
May 16, 2018
We designed Browshot and Thumbalizr to be very easy to try out. You can create a free account and try some screenshots without verifying your e-mail address. You can even make a screenshot without registering at all. We had some abuses in the past but they did not impact the service. Since free users and paying customers use different browsers, they affected only other free users who had to wait longer for their screenshot to finish. But recently, we had to deal with a different type of abuse.
We have disabled the fake accounts and strengthen our registration process and demos to avoid further abuses. We did this without making it harder for legitimate users to test out Browshot or Thumbalizr.
May 10, 2018
We have updated the API to version 1.20. We've changed what information is displayed for each level of details and introduced details=0. With details=0, you get most of the information from details=1 but 10 times faster! This make a big difference for API calls that return information about multiple screenshots, such as screenshot/list and screenshot/search. This is now default value for screenshot/create, screenshot/info, screenshot/list and screenshot/search.
Go take a look at the API documentation page, we have highlighted the changes there.
May 7, 2018
Use web hooks to be notified when a screenshot is done. We have added a new parameter to the screenshot/create API call. You can specify a URL, the web hook, to send notifications to.
When a screenshot is done (status: finished or error), Browshot will send a POST request to your URL. The body of the request contains the JSON data describing the screenshot as returned by the API call screenshot/info. If the URL does not return the status code 20X or times out, the notification will be retried up to 2 times.
Test your URL
You can test your URL by sending a POST request like this:
curl -X POST -H "Content-Type: application/json" \
Mar 18, 2018
We have upgraded Chrome to version 65, the lastest version from Google at this time.