News for hackers. Stuff that matters.
Re:Google's Secret Screenshot API by faulkner on Tuesday November 03, 2015 @10:18AM (#10500072)
I hope this isn't too off-topic, but the "weird" encoding is is just URL-safe base64 (see https://docs.python.org/2/library/base64.html#base64.urlsafe...).
Re:Google's Secret Screenshot API by edent on Tuesday November 03, 2015 @05:03PM (#10503066)
Can't believe I missed that! Thanks :-)
Re:Google's Secret Screenshot API by jstoiko on Tuesday November 03, 2015 @08:03AM (#10499240)
This is great. Thanks for sharing.

1) I know that google caches those thumbnails and returns a thumbnail instantly when it does have a cached version, do you know what happens when it does not?

2) have you come across any rate limit?

Re:Google's Secret Screenshot API by edent on Tuesday November 03, 2015 @05:05PM (#10503075)
Glad you enjoyed it.

1) The PageSpeed service takes some time to run, so it always returned a new image in my tests.

2) I haven't - but I wasn't stress testing it. It happily coped with a few dozen per hour.