From 7274f400ad57416e50953d94ae4b9c1ee7b3a9b2 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 20 Jul 2009 23:26:28 +0200 Subject: [PATCH] getUrl also gets valid --- oxweb/thepiratebay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)