mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-02 11:51:49 +02:00
Allows different skins for stories that require login
This commit is contained in:
parent
30997053ef
commit
7eb1685be1
1 changed files with 3 additions and 0 deletions
|
|
@ -295,6 +295,9 @@ class DracoAndGinnyComAdapter(BaseSiteAdapter):
|
|||
selfClosingTags=('br','hr')) # otherwise soup eats the br/hr tags.
|
||||
|
||||
div = soup.find('div', {'class' : 'listbox'})
|
||||
|
||||
if None == div:
|
||||
div = soup.find('div', {'id' : 'story'})
|
||||
|
||||
if None == div:
|
||||
raise exceptions.FailedToDownload("Error downloading Chapter: %s! Missing required element!" % url)
|
||||
|
|
|
|||
Loading…
Reference in a new issue