Update browser-shots.py

fix the error described in https://github.com/crawler-IM/browser-shots-tool/issues/3