def __get_callback(self):

        # default callback
        callback = self._parent.DEFAULT_CALLBACK

        for regex, callback_name in self._callbacks.items():
            if regex.search(self._url):
                callback = callback_name
                break

        return callback
Returns callback function by url
dataset/ETHPy150Open bbrodriges/pholcidae/pholcidae2.py/Fetcher.__get_callback