mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-09 05:21:13 +02:00
AO3: Detect 'This work is part of an ongoing challenge and will be revealed soon!'
This commit is contained in:
parent
ecf4b10238
commit
770c9fa167
1 changed files with 3 additions and 0 deletions
|
|
@ -166,6 +166,9 @@ class ArchiveOfOurOwnOrgAdapter(BaseSiteAdapter):
|
|||
data = self.get_request(url)
|
||||
meta = self.get_request(metaurl)
|
||||
|
||||
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 "This work could have adult content. If you proceed you have agreed that you are willing to see such content." in meta:
|
||||
if self.addurl:
|
||||
## "?view_adult=true" doesn't work on base story
|
||||
|
|
|
|||
Loading…
Reference in a new issue