diff --git a/oxweb/thepiratebay.py b/oxweb/thepiratebay.py index 41c6252..644e60c 100644 --- a/oxweb/thepiratebay.py +++ b/oxweb/thepiratebay.py @@ -18,7 +18,7 @@ cache_timeout = 24*60*60 # cache search only for 24 hours season_episode = re.compile("S..E..", re.IGNORECASE) -def _getUrl(url, data=None, headers=cache.DEFAULT_HEADERS, timeout=cache.cache_timeout): +def _getUrl(url, data=None, headers=cache.DEFAULT_HEADERS, timeout=cache.cache_timeout, valid=None): headers = cache.DEFAULT_HEADERS headers['Cookie'] = 'language=en_EN' return cache.getUrl(url, data, headers, timeout)