Allows different skins for stories that require login

This commit is contained in:
Ida 2012-08-28 19:46:50 -04:00
parent 30997053ef
commit 7eb1685be1

View file

@ -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)