def METHOD_NAME(url, filename, forcescrape):
    filename = '%s/../../../parldata/cmpages/ni/%s' % (ni_dir, filename)
    data = urllib.request.urlopen(url).read()
    if b'ExceptionMessage' in data or b'"Message":"An error has occurred."' in data:
        print('ERROR received scraping %s' % url)
        return
    save = True
    if os.path.isfile(filename):
        current = open(filename).read()
        if current == data and not forcescrape:
            save = False
    if save:
        print("NI scraping %s" % url)
        open(filename, 'wb').write(data)