def __init__(self, *pargs, **kwargs):
        scrape_url = kwargs.pop("scrape_url", None)
        scrape_referer = kwargs.pop("scrape_referer", None)

        arguments = dict(self.scrape_arg_defaults)
        arguments.update(kwargs)
        arguments.update(zip(self.scrape_args, pargs))
        self.scrape_args = arguments

        if scrape_url:
            self.scrape_url = scrape_url
        elif not self.scrape_url:
            # We can't scrape if we don't actually have a url configured
            raise ValueError("%s.scrape_url needs to be defined" %
                             type(self).__name__)
        else:
            self.scrape_url = arguments % self.scrape_url

        self.scrape_headers = dict(self.scrape_headers)
        if scrape_referer:
            self.scrape_headers['Referer'] = scrape_referer
dataset/ETHPy150Open ondergetekende/livescrape/livescrape.py/ScrapedPage.__init__/swapped operands of `%`