mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
adapter_storiesonlinenet: Single chapter stories slightly different. Also scifistories and finestories. Closes #867
This commit is contained in:
parent
943bf1f36c
commit
f4a7a8657e
1 changed files with 4 additions and 1 deletions
|
|
@ -465,7 +465,10 @@ class StoriesOnlineNetAdapter(BaseSiteAdapter):
|
|||
def getMoreText(self, html):
|
||||
try:
|
||||
story_id = int(re.compile('var story_id=(\d+)').findall(html)[0])
|
||||
try:
|
||||
pid = re.compile('var pid=(\d+)').findall(html)[0]
|
||||
except:
|
||||
pid = 'undefined'
|
||||
ci = re.compile("var ci='([^']+)'").findall(html)[0]
|
||||
tto = re.compile("var tto='([^']+)'").findall(html)[0]
|
||||
url = "https://"+self.getSiteDomain()+"/res/responders/tl.php?r="+unicode(random.randint(1, 100001))
|
||||
|
|
|
|||
Loading…
Reference in a new issue