Fixed wrong getSiteExampleURLs format in bdsmgesch

This commit is contained in:
doe 2014-08-06 01:22:38 +02:00
parent 6e93ded2a3
commit a0e9123c58
2 changed files with 1 additions and 2 deletions

View file

@ -75,7 +75,7 @@ class BdsmGeschichtenAdapter(BaseSiteAdapter):
@classmethod
def getSiteExampleURLs(self):
return ["http://www.bdsm-geschichten.net/title-of-story-1", "http://bdsm-geschichten.net/title-of-story-1"]
return "http://www.bdsm-geschichten.net/title-of-story-1 http://bdsm-geschichten.net/title-of-story-1"
def getSiteURLPattern(self):
return r"http://(www\.)?bdsm-geschichten.net/(?P<storyId>[a-zA-Z0-9_-]+)"

View file

@ -214,7 +214,6 @@ class LiteroticaSiteAdapter(BaseSiteAdapter):
def getChapterText(self, url):
logger.debug('Getting chapter text from <%s>' % url)
# time.sleep(0.5)
data1 = self._fetchUrl(url)
soup1 = bs.BeautifulSoup(data1)