diff --git a/oxdata/movie/imdbids.py b/oxdata/movie/imdbids.py index c0966a1..0cb606c 100644 --- a/oxdata/movie/imdbids.py +++ b/oxdata/movie/imdbids.py @@ -63,7 +63,7 @@ def get_film_count(year, month=None, day=None): data = read_url(url, timeout=TIMEOUT) total = re.compile('1-50 of ([\d,]+?) titles.').findall(data) if not total: - total = re.compile(' ([\d,]+) titles\n', re.DOTALL).findall(data) + total = re.compile('([\d,]+) titles.', re.DOTALL).findall(data) if total: return int(total[0].replace(',', '')) print('no movies', url)