def get(self):
        self._write_error(410)
        return
        url = self.request.get('url').strip()
        if not url:
            self._write_input_error('Missing "url" parameter')
            return

        try:
            start_date = datetime.datetime.strptime(
                self.request.get('start-date'), '%Y-%m-%d')
        except __HOLE__:
            start_date = datetime.datetime(1970, 1, 1)

        self._write_json({
            'firstItem': data.get_start_item_contents(url, start_date).as_json_dict(),
        })
dataset/ETHPy150Open mihaip/streamspigot/app/feedplayback/handlers.py/PreviewHandler.get