mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 21:11:59 +02:00
adapter_literotica: add ...$ to story URL search for when /xyz-pt1 and /xyz are different stories.
This commit is contained in:
parent
a8c10bb017
commit
10a07fe4bf
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ class LiteroticaSiteAdapter(BaseSiteAdapter):
|
|||
## site has started putting https back on again.
|
||||
## site is now using language specific german.lit... etc on author pages.
|
||||
## site is now back to using www.lit... etc on author pages.
|
||||
search_url_re = r"https?://"+LANG_RE+r"(\.i)?\." + re.escape(self.getSiteDomain()) + self.url[self.url.index('/s/'):]
|
||||
search_url_re = r"https?://"+LANG_RE+r"(\.i)?\." + re.escape(self.getSiteDomain()) + self.url[self.url.index('/s/'):]+r"$"
|
||||
logger.debug(search_url_re)
|
||||
storyLink = soupAuth.find('a', href=re.compile(search_url_re))
|
||||
# storyLink = soupAuth.find('a', href=re.compile(r'.*literotica.com/s/'+re.escape(self.story.getMetadata('storyId')) ))
|
||||
|
|
|
|||
Loading…
Reference in a new issue