diff --git a/fanficfare/adapters/base_adapter.py b/fanficfare/adapters/base_adapter.py index 826b53a7c..16f810348 100644 --- a/fanficfare/adapters/base_adapter.py +++ b/fanficfare/adapters/base_adapter.py @@ -466,11 +466,11 @@ def make_soup(self,data): def normalize_chapterurl(self,url): return url -def cachedfetch(realfetch,cache,url): +def cachedfetch(realfetch,cache,url,referer=None): if url in cache: return cache[url] else: - return realfetch(url) + return realfetch(url,referer=referer) fullmon = {u"January":u"01", u"February":u"02", u"March":u"03", u"April":u"04", u"May":u"05", u"June":u"06","July":u"07", u"August":u"08", u"September":u"09", u"October":u"10",