def _filterargs(source):
    """Juice from a source file the four args needed by decoder."""
    argsregex = (r"}\('(.*)', *(\d+), *(\d+), *'(.*)'\."
                 r"split\('\|'\), *(\d+), *(.*)\)\)")
    args = re.search(argsregex, source, re.DOTALL).groups()

    try:
        return args[0], args[3].split('|'), int(args[1]), int(args[2])
    except __HOLE__:
        raise UnpackingError('Corrupted p.a.c.k.e.r. data.')
dataset/ETHPy150Open mrknow/filmkodi/plugin.video.mrknow/lib/utils/unpack95High.py/_filterargs