diff --git a/fanficfare/adapters/base_otw_adapter.py b/fanficfare/adapters/base_otw_adapter.py index e561ff20..068f0d01 100644 --- a/fanficfare/adapters/base_otw_adapter.py +++ b/fanficfare/adapters/base_otw_adapter.py @@ -237,7 +237,7 @@ class BaseOTWAdapter(BaseSiteAdapter): if 'This work is part of an ongoing challenge and will be revealed soon!' in meta: raise exceptions.FailedToDownload('Site says: "This work is part of an ongoing challenge and will be revealed soon!"') - if '
Sorry, you don't have permission to access the page you were trying to reach.
' in data: + if re.search(r'
Sorry, you don(\'|')t have permission to access the page you were trying to reach.
', data): # note that it's not *actually* a 503 code... raise exceptions.FailedToDownload('Site says: "Sorry, you don\'t have permission to access the page you were trying to reach."')