def _make_result(self, (title, _, duration)):
        # Durations are of the form "[COUNTRY:]DURATION[:NUMBERS]"
        # For example: "USA:30" or "27 min." or "1:10:43". We return
        # the first colon-separated number in the string as the
        # running time, ignoring all trailing garbage. (This leads to
        # some running times being erroneously listed as 1 minute, but
        # the IMDb website also does this.)
        if duration[0].isdigit():
            # No leading country
            country = None
        else:
            country, duration = duration.split(':', 1)
        duration = duration.strip()
        # running-times.gz has 7 films with a running time like "54 min."
        # instead of "54". There's also "1o7", "2 1/2", "2 x 90", ....
        try:
            duration = int(duration, 10)
        except __HOLE__:
            # Could not parse as integer. Extract leading digits.
            for i, c in enumerate(duration):
                if not c.isdigit():
                    duration = int(duration[:i], 10)
                    break
            else:
                duration = None
        return (title, (duration, country))
dataset/ETHPy150Open nandhp/python-imdb/imdb/parsers.py/IMDbRunningTimeParser._make_result